My new problem(error) [message #26354] |
Sat, 16 July 2005 21:45 |
chickenout
Messages: 55 Registered: February 2005 Location: Philadelphia
Karma: 0
|
Member |
|
|
I recently got his error while trying to access my forum. Other members saw this as well.
Warning: mysql_connect(): Too many connections in /var/www/html/chickennewforum/index.php on line 61
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /var/www/html/chickennewforum/index.php on line 61
Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /var/www/html/chickennewforum/index.php on line 61
Fatal error: SQL Error has occurred, please contact the administrator of the forum and have them review the forum's SQL query log in /var/www/html/chickennewforum/index.php on line 49
I get a too many connections error while trying to get into the administration tool for the database as well. How can I remedy this?
Is there a file I can change? I cannot seem to find the "DBHOST_PERSIST=" to possibly change it to 'N'. Where is that located?
Any help would be greatly appreciated.
Thanks
|
|
|
Re: My new problem(error) [message #26363 is a reply to message #26354] |
Mon, 18 July 2005 12:58 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You can disable persistent connections in the global control panel, just search for the word "persistent". It is however possible that the issue is that simply too many connections were open to the database and the database connection limit was exceeded. This is a not a bug or a forum problem.
FUDforum Core Developer
|
|
|
|
Re: My new problem(error) [message #26367 is a reply to message #26366] |
Mon, 18 July 2005 15:20 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Yeah, this is something that happens for a very short period of time while the server is under a high load. if you are sharing a server, this may be due to some other user(s) taking up all available database connections. The connection limit is per-server, not per-account, so on shared boxes it is frequently exceeded.
FUDforum Core Developer
|
|
|
|