Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Script using too much MySQL resources

Discussion in 'General Discussion' started by ahmad musa, Jan 9, 2018.

  1. ahmad musa

    ahmad musa Registered

    Joined:
    Jan 9, 2018
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    usa
    cPanel Access Level:
    Website Owner
    I need clear steps to do what they ask plz.

    Hello,

    This message is to advise you of a block placed on your database. The database associated with the script in "brand_wrdp1" was found to be consuming an inordinate amount of mysql connections, to the point of degrading overall system performance. While we do limit each account to no more than 25% of a system's resources in our terms of service, we do not actively disable accounts until they greatly exceed that number, which is what happened in this case.

    Resolving this situation may be as simple as modifying the code to to use mysql_connect instead of mysql_pconnect, closing connections sooner, adding additional indexes to your database, optimizing the queries used, or something equally easy. If not, it may simply be a matter of moving this database to dedicated services, as it may have outgrown a shared environment.

    If you believe you have a solution to this overuse, we are happy to discuss the situation with you and possibly reinstate the database on the server. Otherwise, we will be happy to assist you with the upgrade process if a dedicated server is the most appropriate solution. Thank you, and we look forward to hearing from you shortly.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,794
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    That looks like a message from your web hosting company notifying you that your script is using an excessive amount of resources (MySQL in-particular). Custom modifications to the scripts utilized on your website fall outside our scope of support, but we do provide a list of system administration service providers at:

    System Administration Services | cPanel Forums

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice