Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,697
    Plugin Contributions
    123

    Default Spike in "more than max_user_connections" errors

    [22-Oct-2018 06:05:39 UTC] PHP Warning: mysqli_connect(): (HY000/1203): User user1 already has more than 'max_user_connections' active connections in /home/mystore/public_html/includes/classes/db/mysql/query_factory.php on line 64

    Seems like I'm seeing these more often on client sites.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  2. #2
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: Spike in "more than max_user_connections" errors

    What other software is installed that may be common among the installs? Ie. Is there a common plugin that may be associated?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Jun 2009
    Location
    Sparta, TN
    Posts
    158
    Plugin Contributions
    0

    Default Re: Spike in "more than max_user_connections" errors

    I have a vanilla install with ZERO plugins and am also getting the same errors. All seem to be from China 220.243.135.xx and 220.243.136.xx
    I've even added these (without success) to my .htaccess:
    deny from 220.243.135.0-220.243.135.255
    deny from 220.243.136.0-220.243.136.255
    My store - closed 12/05/2023
    1.5.7d (upgraded from 1.5.7b), clone a template (cloned Responsive Classic Template), Sitemap XML v4.0, Square WebPay, PayPal Express Checkout, PHP Version: 7.4.29 (Zend: 3.4.0)

  4. #4
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: Spike in "more than max_user_connections" errors

    Quote Originally Posted by VDecalS View Post
    I have a vanilla install with ZERO plugins and am also getting the same errors. All seem to be from China 220.243.135.xx and 220.243.136.xx
    I've even added these (without success) to my .htaccess:
    deny from 220.243.135.0-220.243.135.255
    deny from 220.243.136.0-220.243.136.255
    I have clients monitoring and tracing these exact connections -> from China's web crawlers. So far all have overwhelmed the server and produced the errors... and found their address on the block list.

    Of course there have been other web crawlers from many other countries but none have pushed the max connections limit.
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base8 - Obsidian - This, is what's new.

  5. #5
    Join Date
    Jan 2015
    Posts
    423
    Plugin Contributions
    0

    Default Re: Spike in "more than max_user_connections" errors

    For some reason I too have been getting the exact same error. I found some suggestions on the forum but nothing has been successful yet.

    I believe it may be a bot but its hard to pin point the exact cause.

  6. #6
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,697
    Plugin Contributions
    123

    Default Re: Spike in "more than max_user_connections" errors

    @VDecalS, if you use CIDR format, this should work. The syntax you are using is wrong.

    deny from 220.243.0.0/16
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  7. #7
    Join Date
    Jun 2009
    Location
    Sparta, TN
    Posts
    158
    Plugin Contributions
    0

    Default Re: Spike in "more than max_user_connections" errors

    Thanks SWGuy! That is much cleaner!
    My store - closed 12/05/2023
    1.5.7d (upgraded from 1.5.7b), clone a template (cloned Responsive Classic Template), Sitemap XML v4.0, Square WebPay, PayPal Express Checkout, PHP Version: 7.4.29 (Zend: 3.4.0)

  8. #8
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,018
    Plugin Contributions
    61

    Default Re: Spike in "more than max_user_connections" errors

    We too have been having this issue, I monitor these, so here is my 10 day list to help

    #Hackers
    Order Deny,Allow
    Deny from 5.8.47.0/24
    Deny from 41.96.0.0/12
    Deny from 52.80.0.0/14
    Deny from 54.222.0.0/15
    Deny from 123.112.0.0/12
    Deny from 139.217.0.0/16
    Deny from 203.0.0.0/8
    Deny from 220.0.0.0/8

    ~Melanie
    PRO-Webs, Inc. :: Recent Zen Cart Projects :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

  9. #9
    Join Date
    Jun 2009
    Location
    Sparta, TN
    Posts
    158
    Plugin Contributions
    0

    Default Re: Spike in "more than max_user_connections" errors

    Quote Originally Posted by swguy View Post
    @VDecalS, if you use CIDR format, this should work. The syntax you are using is wrong.

    deny from 220.243.0.0/16
    I'm happy to report ZERO debug logs since 28 OCT 2018.
    My store - closed 12/05/2023
    1.5.7d (upgraded from 1.5.7b), clone a template (cloned Responsive Classic Template), Sitemap XML v4.0, Square WebPay, PayPal Express Checkout, PHP Version: 7.4.29 (Zend: 3.4.0)

  10. #10
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,697
    Plugin Contributions
    123

    Default Re: Spike in "more than max_user_connections" errors

    Glad to hear it. Having just one .htaccess entry like this is quite manageable.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v155 User already has more than 'max_user_connections
    By mikebr in forum All Other Contributions/Addons
    Replies: 12
    Last Post: 19 Feb 2024, 09:31 AM
  2. v155 More than 6000 entries on "Who's Online"
    By harry2cool in forum General Questions
    Replies: 3
    Last Post: 23 Mar 2016, 07:59 PM
  3. Homepage "Featured" - Can I Display More than 2?
    By solotripper in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 18 Nov 2010, 05:35 PM
  4. Replies: 1
    Last Post: 2 Jun 2009, 06:53 PM
  5. Having more than 1 "stand-out" category
    By shirster in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 25 Jul 2008, 03:12 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR