• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 Too many connections?

#1
Anyone know why this happens sometimes in my error log?

Zend_Db_Adapter_Mysqli_Exception: Too many connections - library/Zend/Db/Adapter/Mysqli.php:333
 

Brogan

XenForo moderator
Staff member
#2
This is typically a server limitation, usually imposed by hosts offering shared hosting.

It could be related to a lot of traffic, or an add-on.

You would have to contact your host and ask them to increase the limit.
 
#3
I have a pretty new site so as opposed to traffic, you mentioned maybe an addon...I have one called tabalerts and I see this under error:

Request state

array(3) {
["url"] => string(46) "http://www.friendsofev.com/index.php?tabalerts"
["_GET"] => array(1) {
["tabalerts"] => string(0) ""
}
["_POST"] => array(4) {
["_xfRequestUri"] => string(47) "/threads/hacking-a-leaf-via-the-connect-ap.495/"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}
 
#5
The other thing I've found with shared hosting is that MySQL connections are shared across all users. So if you are unlucky and have someone or some people abusing the server, you can end up with Max connection errors.