PDA

View Full Version : mysql error


Silviu
Tue 28th Feb '06, 12:01pm
Ive had the timeout set to 30, had several errors/day, ive increased it to 7200, now i get the following error:

Database error in vBulletin :
mysql_pconnect(): #08004Too many connections
/www/computergames.ro/html/forum/includes/class_core.php on line 279
MySQL Error :
Error Number :
Date : Tuesday, February 28th 2006 @ 10:59:35 AM
Script : http://www.computergames.ro/forum/pr...5&page=2&pp=40 (http://www.computergames.ro/forum/printthread.php?t=85485&page=2&pp=40)
Referrer : http://www.google.ro/search?hl=ro&q=cs+1.6+filme+demonstrative&btnG=Cau t%C4%83&meta=lr%3Dlang_ro (http://www.google.ro/search?hl=ro&q=cs+1.6+filme+demonstrative&btnG=Caut%C4%83&meta=lr%3Dlang_ro)
IP Address : 80.96.86.90
Username :
Classname : vb_database

Anyone can help?

weitalia
Tue 28th Feb '06, 1:09pm
increase number of mysql connection in my.cnf

Silviu
Tue 28th Feb '06, 1:55pm
Its set to 200 now, i will increase it to 400. Is enough, or?

Zachery
Tue 28th Feb '06, 1:57pm
Try switching away from pconnect.

$config['MasterServer']['usepconnect'] = 1;

to

$config['MasterServer']['usepconnect'] = 0;

Silviu
Tue 28th Feb '06, 2:42pm
After increasing the number of connections to 400 there were no more errors, with pconnect = 1. I will see how it behaves in next 12-24 hours.