I occasionally encounter with the "database connection failed" error. after searching around it I found this is because of the database overloading.
although in my php.in I have the string mysql.allow_persistant=Off and in the moodle config.php I have $CFG->dbpersist = false; this error still takes palace.
I want to know how can I determine the capacity of mysql to accept connections without causing this problem?
I have one server and data base , web server and moodledata all have placed on it.
the server hardware charactristics are:
CPU |
2 * Dual-Core Intel Xeon 5140, 2.66 GHz, 1333 MHz FSB, 4MB Cache
|
RAM |
4 GB(2*2 GB) PC2-5300 Fully Buffered DIMMs
|