File resource doesn't display if server is slow

File resource doesn't display if server is slow

by Jonathan Rabson -
Number of replies: 1

A few people are having problems displaying a resource (of type file) if the server is slow.  The server being slow at some times in the day is another problem for the administrator to resolve.  My concern is how Moodle handles that if it's the case.  What happens is that if the page takes a long time to load, then the file resource (which contains an HTML main file with some attached images, CSS, and JavaScript) doesn't display at all.  There's just a space where it should be.  This is a very intermittent problem that affects some users some of the time.

My assumption is that it may be a timeout problem.  In PHP, max_execution_time is set to 30.  I'm thinking maybe I should increase that and also increase mysql.connect_timeout.  However, I'm interested if anyone else has suggestions or knows who might be causing this behavior if I should look at anything else in Moodle regarding settings, etc.

 

Average of ratings: -
In reply to Jonathan Rabson

Re: File resource doesn't display if server is slow

by Jonathan Rabson -

PS, sorry I meant what might be causing this behavior smile