1. 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?

Discussion in 'Troubleshooting and Problems' started by davs, Feb 25, 2016.

  1. davs

    davs Member

    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
  2. Brogan

    Brogan XenForo Moderator Staff Member

    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. davs

    davs Member

    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"
  4. Brogan

    Brogan XenForo Moderator Staff Member

    You can disable all add-ons and re-enable them one at a time to determine if it is related to one of them.
    davs likes this.
  5. MarkMark

    MarkMark Member

    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.

Share This Page