Hi Guys,
First time post to this particular group. While building my courses I received some 502 Gateway Errors. This usually would happen when I was deleting a block, or saving an image to a book. I was advised to purge the moodle cache, and then the block did delete for me. But later the 502's returned. I was the only one logged into the system as classes have not started yet.
I am on Siteground's Gogeek plan, featured here...https://www.siteground.com/shared-hosting-features.htm
40GB SSD, Can't find detail on CPUs, Cores etc
Last year, I was on their lower plan GrowBig, and did not have any issues. I migrated that install to a new account within siteground & upgraded from 3.6.4 to 3.8.1.
I have been fighting an uphill battle with my host to try and figure out why I'm having these issues. They flatout deny it is due to a lack of resources, but anyone who's looked at it for me, says it is and that I should move to a VPS. The crazy thing is that I'm the only one logged in, and just building these courses. This makes me really worried for when the students logon. I probably won't have more than 50 students logged on concurrently, and they won't be taking quizes at the same time. I intend to turn off messaging as well to reduce that traffic. I will however have about 1000 students overall.
Here are the Errors showing up in the server error logs and sitegrounds comments.
In the latest logs the scripts that are recorded to hit Mod_Security are as follows (with number of errors first):
53 "/courses/theme/yui_combo.php"]
23 "/courses/lib/ajax/service-nologin.php"]
11 "/courses/auth/wdmwpmoodle/wdmwplogin.php"]
3 "/courses/mod/book/edit.php"]
As a workaround, we can possibly try to exclude the scripts that hit Mod_Security.
I've given them the ok to go ahead and make that change.
I know that my PHP_Max Execution and Input is 120.
Here's a short video of all my php variables:
https://drive.google.com/file/d/1zoMpgFNLnKTsm7Gel893Nf9eTgnkKvrv/view?usp=sharing
I've read through a lot of posts and have learned alot tonight, I fear I should have done this a month ago! My classes start on wednesday, so just wondering if you guys have any thoughts on my setup?
Thanks in advance guys.
I've attached some error logs.