It is possible that the database is overloaded or otherwise not running properly.
The site administrator should also check that the database details have been correctly specified in config.php
The site went back online after a few hours, but yesterday when a class of 44 students tried to access the site they kept on getting the same error message.
I have checked config.php and persistent connections are off ($CFG->dbpersist = false;). I contacted my hosting company (Bluehost), and was told that there is a limit of 10 simultaneous database connections. I was assured that this was quite enough and anyway it couldn't be increased. He then went on to say that I "should optimize the connection to the database", and that this could probably done by making some changes to the config.php file.
So, is it correct that a limit of 10 simultaneous database connections is enough and indeed normal? Furthermore, can the problems my students are having accessing my site be solved by 'optimizing the connection to the database? If so, how can this be done?
Any suggestions will be greatly appreciated.
Moodle version: moodle 1.4.3 + (2004083131)
MySQL 4.0.24-standard