This issue started after our summer upgrade from 2.8.5 to 3.0.3. Prior to 3.0.3 we have had excellent up time and few issues.
It started as 500 errors (just the generic, no additional info even when looking at it from the server). A couple times the error referenced FastCGI (error below), and now it’s just a spinning white screen. This is randomly occurring and I haven’t been able to intentionally reproduce it. Recycling IIS or rebooting the server resolves it. Moodle is on a server by itself.
Moodle 3.0.3 (Build: 20160314)
Windows server 2008 R2 (4 CPU, 8 GB RAM – CPU rarely above 20%)
IIS 7.5
PHP 5.5 (w/ FastCGI) -- at time of upgrade, using PHP 5.4.4 – after first 500 errors, upgraded to 5.5
SQL 2008 R2
Using the Essential theme ( version 3.0.1.10 (Build: 2016010215))
No custom blocks
All plugins up-to-date
Moodle is in its own app pool using the Network Service Identity. Network Service has access to the Moodle and PHP directories. App pool is set to recycle every 60 minutes.
PHP settings: max_execution_time 900
max_input_time 900
memory_limit 1024M
allow_url_fopen = On
fastcgi.impersonate = 1
fastcgi.logging = 0
FastCgi settings: Instance Max Requests 10000
Max Instances 0
Activity timeout 700
Request timeout 900
IIS log entries for times when we received the 500 error sometimes show …. 500 0 64, or ….500 0 258, or …. 500 0 995 errors (as well as a couple other system error codes).
Event viewer logs – Application & System don’t provide any clues.
FastCgi Error Summary:
HTTP Error 500.0 - Internal Server Error
The FastCGI process has failed frequently recently. Try the request again in a while
Detailed Error Information -
Module FastCgiModule
Notification ExecuteRequestHandler
Handler PHP55_via_FastCGI
Error Code 0x80004005
PHP log:
We regularly have one error in the PHP log – this isn’t always logged during an occurrence though (file name changes with each entry)
PHP Warning: fopen(\Moodledata/localcache\91119c82-8eca-4ece-9ca7-c599dded570d\fc28aa8a-5f87-429a-9db2-75505743d49f/): failed to open stream: No such file or directory in \moodle\lib\filelib.php on line 3438
We occasionally get this logged -- Default exception handler: Incorrect sesskey submitted, form not accepted! Debug:
Error code: invalidsesskey
* line 488 of \lib\setuplib.php: moodle_exception thrown
* line 37 of \course\format\topcoll\settopcollpref.php: call to print_error()
But, again, doesn’t correspond to the occurrences.
Once in a while there will be an entry for a failed manual backup.
I recently purged all caches.
Ideas? Suggestions?
Is upgrading to Moodle 3.0.6 the next step?
Thanks for the help.