PDA

View Full Version : Database error -> too many connections


Stefan118
09-29-2011, 08:31 PM
Since a few days i get a bunch of database errors in my email.
All the errors are the same, exept for the script and the IP addresses.

My question is: How do i solve this?
It occures about 2 to 3 times a day, and lasts for about 3 minutes (about 30 emails each time)
I beleave this might be an issue for my webhost?

-----------------------------------------------------------------------------------------------------------

Database error in vBulletin :

mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Too
many connections
/home/p32471/domains/papegaaienforum.nl/public_html/includes/class_core.php on line 314

MySQL Error :

Error Number :
Request Date : Thursday, September 29th 2011 @ 05:03:03 PM
Error Date : Thursday, September 29th 2011 @ 05:03:03 PM
Script : http://www.papegaaienforum.nl/misc.php?do=whoposted&t=252661
Referrer :
IP Address : 67.195.115.47
Username :
Classname : vB_Database
MySQL Version :

Lynne
09-29-2011, 10:37 PM
The server has maxed out the number of MySQL connections it allows. You can try turning persistent connections off by adding this to your config.php:
$config['MasterServer']['usepconnect'] = 0; But, if you still have the problem you will have to talk to your host about raising that limit. Also, see this Common MySQL Error Messages (https://www.vbulletin.com/docs/html/troubleshoot_mysql_errors)