vB Database Error - Some help pls.

Dj SharK

New Member
This is the second time i'm getting this error..

Is there something i could do so this doesn't happen anymore?


Code:
Database error in vBulletin :

mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Too many connections
/home/********/public_html/forum/includes/class_core.php on line 311

MySQL Error   :
Error Number  :
Request Date  : Thursday, May 14th 2009 @ 01:06:57 AM
Error Date    : Thursday, May 14th 2009 @ 01:06:57 AM
Script        : http://forum.**********.com/
Referrer      :
IP Address    : 116.**.***.***
Username      :
Classname     : vB_Database
MySQL Version :

And on line 311 of /includes/class_core.php is :
HTML:
			$link = $this->functions[$usepconnect ? 'pconnect' : 'connect']("$servername:$port", $username, $password);
 
Aioforum said:
Check your Server settings...Set the Load value to 0

Where exactly should i look at? Sorry, am not all that familiar with some stuff..

Is this the one?

Code:
	//	****** MASTER DATABASE PERSISTENT CONNECTIONS ******

	//	This option allows you to turn persistent connections to MySQL on or off.

	//	The difference in performance is negligible for all but the largest boards.

	//	If you are unsure what this should be, leave it off. (0 = off; 1 = on)

$config['MasterServer']['usepconnect'] = 0;
 
Dj SharK said:
Where exactly should i look at? Sorry, am not all that familiar with some stuff..

Is this the one?

Code:
	//	****** MASTER DATABASE PERSISTENT CONNECTIONS ******

	//	This option allows you to turn persistent connections to MySQL on or off.

	//	The difference in performance is negligible for all but the largest boards.

	//	If you are unsure what this should be, leave it off. (0 = off; 1 = on)

$config['MasterServer']['usepconnect'] = 0;
Go to Vbulletin Options -> Server Settings and Optimization Options -> Check *NIX Server Load Limit & it should be 0

If it is 0 then you should contact your host about this error...may be the server is too busy
 
Aioforum said:
Go to Vbulletin Options -> Server Settings and Optimization Options -> Check *NIX Server Load Limit & it should be 0

If it is 0 then you should contact your host about this error...may be the server is too busy
It's set to 0 ( by default )..

I got about 8 emails with the same DB error message about an hour back.
Now it stopped. I'll contact my host about this.

Other than server is too busy, any other possibilities?
My board is not all that big so there's no chance we mess up the load.
 
Dj SharK said:
It's set to 0 ( by default )..

I got about 8 emails with the same DB error message about an hour back.
Now it stopped. I'll contact my host about this.

Other than server is too busy, any other possibilities?
My board is not all that big so there's no chance we mess up the load.
If you do not have dedicated server...You should be on reseller then...May be server is busy....

You will get these messages when your server is busy or load is too high
Discuss with your host
 
Aioforum said:
If you do not have dedicated server...You should be on reseller then...May be server is busy....

You will get these messages when your server is busy or load is too high
Discuss with your host
I'm on Shared Hosting..

I'll submit a support ticket now..

Thanks for the help bud.. :)
 
Back
Top