Next Problem.... [message #2905] |
Tue, 04 June 2002 15:48 |
derekg
Messages: 9 Registered: May 2002
Karma: 0
|
Junior Member |
|
|
What would be causing this:
Warning: Too many connections in /clients/CMHA/www/FUDforum/Data/include/db.inc on line 26
And how can i fix it?
|
|
|
Re: Next Problem.... [message #2910 is a reply to message #2905] |
Tue, 04 June 2002 16:01 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
derekg wrote on Tue, 04 June 2002 11:48 | What would be causing this:
Warning: Too many connections in /clients/CMHA/www/FUDforum/Data/include/db.inc on line 26
And how can i fix it?
|
Make the forum NOT use persistant connections. By setting the
'User Persistent Connections' to NO.
The problem is actually in your server config, when persistant connections are used each apache keeps an open MySQL connection, so it does not need to open it each time. The problem you are seeing is because the MySQL has a limit of how many connections can be opened at any one time, and the number of apache children with open connections exceeds that number.
Tell your admin to either increase the number of allowed MySQL connections or decrease the maximum number of Apache children.
FUDforum Core Developer
|
|
|
|