Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Feb 2007
    Posts
    513
    Plugin Contributions
    2

    Default Hosting suspended due to CPU usage, Question

    I am looking into if there is something abnormal using my cPanel server CPU

    I am just about to fix this bug: PHP Fatal error: Class 'productPricing' not found in /home/jbmminia/public_html/zencart151/includes/init_includes/init_currencies.php on line 47
    But I don't think thats a problem.

    I will be optimizing the site for CPU but wonder if there was something abnormal that may have caused this.


    Letter from Hostgator:

    Quote Originally Posted by HostGator
    Hello,

    Your account has been abusing CPU resources for an extended period of time.
    As a result all of your sites have been cached in order to ensure continued
    performance stability of the server. While we do limit each account to no
    more than 25% of a system's CPU in our terms of service, we do not actively
    take actions against accounts until they greatly exceed that number, which
    is what happened in this case.

    Please take a moment to review this email in full as it contains important
    information and resources to assist you in resolving this issue. Please note
    that this permanent restriction requires you take further actions to gain
    access to and resolve the issues on your account.


    ****Please note your site(s) are still online in a cached form. However, any
    further violations will result in your account being suspended****


    - Important information on the caching for your account
    Your account will be cached for 12 hours, with the cache for your sites
    updating every 3 hours. This will allow your site to stay online for
    visitors while you correct the issues causing the problems described below.

    Once your sites are fix and no longer causing service issues and remains
    incident free for 12 hours the restrictions will be removed and your account
    will function normally.


    - How can you resolve the issue?
    We have two solutions available. You may try following some of our tutorials
    for optimizing popular scripts.
    http://support.hostgator.com/article...resource-usage.
    If you feel your scripts have already been optimized, it may simply be time
    to consider the hardware upgrade. Moving the account to a dedicated server
    will allow far greater hardware resources and dedicated hardware for your
    account.


    - How does a CPU issue occur?
    Many times popular scripts may perform inefficient tasks repeatedly leading
    to CPU abuse. Below please find helpful articles outlining resource
    restrictions set on HostGator accounts:
    https://support.hostgator.com/articl...ce-restriction
    https://support.hostgator.com/articl...resource-usage


    - What is caching?
    Caching allows us to server a static page taken of your site. Each
    subsequent page request is then served from the cache. This allows us to
    reduce server load, bandwidth usage, and maintain server performance for our
    other customers.

    Many customers opt to cache certain parts of their websites to ensure
    optimal performance for their sites. Below are links to optimizations guides
    for popular CMS's.
    http://support.hostgator.com/article...hing-in-drupal
    http://support.hostgator.com/article...zing-wordpress
    http://support.hostgator.com/article...imizing-joomla
    http://support.hostgator.com/article...mizing-magento
    http://support.hostgator.com/article...mization-guide

    CPU seconds used in the past hour: 4343.35999999999, 121% CPU

    Tue Mar 25 04:01:07 CDT 2014
    Running Processes:
    jbmminia 14605 17.0 0.4 467788 78568 ? RN 04:00 0:03
    /usr/bin/php /home/jbmminia/public_html/index.php
    jbmminia 14942 8.5 0.2 415752 42116 ? RN 04:00 0:00
    /usr/bin/php /home/jbmminia/public_html/index.php
    jbmminia 15006 9.1 0.2 405532 35248 ? RN 04:01 0:00
    /usr/bin/php /home/jbmminia/public_html/index.php
    jbmminia 15007 9.2 0.2 406360 35984 ? RN 04:01 0:00
    /usr/bin/php /home/jbmminia/public_html/index.php
    jbmminia 15016 7.8 0.1 400452 32024 ? RN 04:01 0:00
    /usr/bin/php /home/jbmminia/public_html/index.php

    Running Queries:
    *************************** 1. row ***************************
    USER: jbmminia
    DB: jbmminia_xxxxx
    STATE:
    TIME: 0
    COMMAND: Sleep
    INFO: NULL
    *************************** 2. row ***************************
    USER: jbmminia
    DB: jbmminia_xxxxx
    STATE:
    TIME: 0
    COMMAND: Sleep
    INFO: NULL
    *************************** 3. row ***************************
    USER: jbmminia
    DB: jbmminia_xxx
    STATE:
    TIME: 0
    COMMAND: Sleep
    INFO: NULL
    *************************** 4. row ***************************
    USER: jbmminia
    DB: jbmminia_xxxxx
    STATE:
    TIME: 0
    COMMAND: Sleep
    INFO: NULL
    *************************** 5. row ***************************
    USER: jbmminia
    DB: jbmminia_xx
    STATE:
    TIME: 0
    COMMAND: Sleep
    INFO: NULL

    Open connections

    Current Site Requests:
    216.176.184.100 jbmminiatures.com
    /index.php?main_page=shopping_cart&product_id=6176&zenid=5e
    216.176.184.100 jbmminiatures.com
    /index.php?main_page=shopping_cart&sort=20a&page=11&zenid=5
    216.176.184.100 jbmminiatures.com
    /index.php?main_page=shopping_cart&sort=20a&page=11&zenid=5
    216.176.184.101 jbmminiatures.com
    /index.php?main_page=shopping_cart&sort=20a&page=11&zenid=5
    216.176.184.101 jbmminiatures.com
    /index.php?main_page=shopping_cart&sort=20a&page=11&zenid=5
    216.176.184.102 jbmminiatures.com
    /index.php?main_page=redirect&action=banner&goto=14&zenid=d
    216.176.184.102 jbmminiatures.com
    /index.php?main_page=redirect&action=banner&goto=14&zenid=d
    216.176.184.103 jbmminiatures.com
    /index.php?main_page=shopping_cart&sort=20a&page=11&zenid=5
    216.176.184.103 jbmminiatures.com
    /index.php?main_page=shopping_cart&sort=20a&page=11&zenid=5
    216.176.184.104 jbmminiatures.com
    /index.php?main_page=shopping_cart&sort=20a&page=11&zenid=5
    216.176.184.107 jbmminiatures.com
    /index.php?main_page=redirect&action=banner&goto=14&zenid=d
    216.176.184.108 jbmminiatures.com
    /index.php?main_page=redirect&action=banner&goto=14&zenid=f
    216.176.184.108 jbmminiatures.com
    /index.php?main_page=redirect&action=banner&goto=14&zenid=f
    216.176.184.108 jbmminiatures.com /robots.txt
    216.176.184.109 jbmminiatures.com
    /index.php?main_page=shopping_cart&action=remove_product&pr
    216.176.184.109 jbmminiatures.com
    /index.php?main_page=shopping_cart&product_id=6175&zenid=5e
    216.176.184.109 jbmminiatures.com
    /index.php?main_page=shopping_cart&product_id=6175&zenid=5e
    216.176.184.99 jbmminiatures.com
    /index.php?main_page=index&cPath=1362&sort=20a&page=11&acti
    216.176.184.99 jbmminiatures.com
    /index.php?main_page=shopping_cart&sort=20a&page=11&zenid=5
    216.176.184.99 jbmminiatures.com
    /index.php?main_page=shopping_cart&sort=20a&page=11&zenid=5


    Reference: ui
    Server: merkur.websitewelcome.com
    Srv. Type: cpanel
    Created: Mon Nov 12 17:18:51 2012
    Acct Type: Resold
    Plan: vandierm_jbmminia_jbmminia
    User: jbmminia
    U. Domain: jbmminiatures.com
    IP: 192.185.98.149 (dedicated)

    Doc Root: /home/jbmminia/public_html

    CPU Usage: 50.7% (warning)
    Inodes: 111613 (warning)
    LimitPHP: Limit file exists. (warning)


    Snapshot 1
    jbmminia 14605 16.7 0.4 469992 79624 ? RN 04:00 0:03
    /usr/bin/php /home/jbmminia/public_html/index.php
    jbmminia 14942 9.0 0.2 423156 46868 ? RN 04:00 0:00
    /usr/bin/php /home/jbmminia/public_html/index.php
    jbmminia 15006 8.8 0.2 408652 37624 ? RN 04:01 0:00
    /usr/bin/php /home/jbmminia/public_html/index.php
    jbmminia 15007 8.8 0.2 409944 38360 ? RN 04:01 0:00
    /usr/bin/php /home/jbmminia/public_html/index.php
    jbmminia 15016 8.0 0.2 405408 35456 ? RN 04:01 0:00
    /usr/bin/php /home/jbmminia/public_html/index.php

    Snapshot 2
    jbmminia 14605 16.8 0.4 470264 79888 ? RN 04:00 0:03
    /usr/bin/php /home/jbmminia/public_html/index.php
    jbmminia 14942 9.2 0.2 425264 48188 ? RN 04:00 0:00
    /usr/bin/php /home/jbmminia/public_html/index.php
    jbmminia 15006 9.0 0.2 409196 37888 ? RN 04:01 0:00
    /usr/bin/php /home/jbmminia/public_html/index.php
    jbmminia 15007 9.0 0.2 410488 38624 ? RN 04:01 0:00
    /usr/bin/php /home/jbmminia/public_html/index.php
    jbmminia 15016 8.1 0.2 405816 35720 ? RN 04:01 0:00
    /usr/bin/php /home/jbmminia/public_html/index.php

    Snapshot 3
    jbmminia 14605 16.8 0.4 470536 79888 ? RN 04:00 0:03
    /usr/bin/php /home/jbmminia/public_html/index.php
    jbmminia 14942 9.7 0.3 429104 50564 ? RN 04:00 0:00
    /usr/bin/php /home/jbmminia/public_html/index.php
    jbmminia 15006 9.1 0.2 410188 38416 ? RN 04:01 0:00
    /usr/bin/php /home/jbmminia/public_html/index.php
    jbmminia 15007 9.1 0.2 411032 38888 ? RN 04:01 0:00
    /usr/bin/php /home/jbmminia/public_html/index.php
    jbmminia 15016 8.2 0.2 406496 35984 ? RN 04:01 0:00
    /usr/bin/php /home/jbmminia/public_html/index.php

    Snapshot 4
    jbmminia 14605 16.8 0.4 470536 80152 ? RN 04:00 0:03
    /usr/bin/php /home/jbmminia/public_html/index.php
    jbmminia 14942 10.1 0.3 431684 52412 ? RN 04:00 0:01
    /usr/bin/php /home/jbmminia/public_html/index.php
    jbmminia 15006 9.1 0.2 410456 38416 ? RN 04:01 0:00
    /usr/bin/php /home/jbmminia/public_html/index.php
    jbmminia 15007 9.2 0.2 411304 39152 ? RN 04:01 0:00
    /usr/bin/php /home/jbmminia/public_html/index.php
    jbmminia 15016 8.2 0.2 406768 36248 ? RN 04:01 0:00
    /usr/bin/php /home/jbmminia/public_html/index.php

    Snapshot 5
    jbmminia 14605 16.2 0.4 471100 80416 ? RN 04:00 0:03
    /usr/bin/php /home/jbmminia/public_html/index.php
    jbmminia 14942 9.4 0.3 432636 52940 ? RN 04:00 0:01
    /usr/bin/php /home/jbmminia/public_html/index.php
    jbmminia 15006 8.3 0.2 411680 39472 ? SN 04:01 0:00
    /usr/bin/php /home/jbmminia/public_html/index.php
    jbmminia 15007 8.4 0.2 412388 39944 ? RN 04:01 0:00
    /usr/bin/php /home/jbmminia/public_html/index.php
    jbmminia 15016 7.6 0.2 407716 37040 ? RN 04:01 0:00
    /usr/bin/php /home/jbmminia/public_html/index.php

    Current load: 04:01:09 up 155 days, 13:06, 0 users, load average: 0.07,
    0.01, 0.00

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Hosting suspended due to CPU usage, Question

    Treat it as though the site's been hacked until you've done a thorough inspection of everything to prove otherwise:
    http://www.zen-cart.com/wiki/index.p...ing_From_Hacks

    And, I'd make a point of downloading a complete copy of all files from your site ASAP ... both for backup purposes and to use in the inspection process.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: Hosting suspended due to CPU usage, Question

    Not the problem you are looking for but it probably should be looked at

    you appear to be trying to use a PDF as an image

    Code:
    <div id="bannerSix" class="banners"><img src="images/small furniture catalog.pdf" alt="Download a Copy of our New 1:24 Scale Catalogue" title=" Download a Copy of our New 1:24 Scale Catalogue " width="140" height="114" /></div>
    Webzings Design
    Semi retired from Web Design

  4. #4
    Join Date
    Feb 2007
    Posts
    513
    Plugin Contributions
    2

    Default Re: Hosting suspended due to CPU usage, Question

    I believe the problem turned out to be easy populate had an error and created thousands of duplicate sub categories, when a customer went to the parent or sub category having such large number of categories caused some kind of higher CPU usage. At lease when easy populate was used again it updated the categories correctly and our host said the CPU usage was fine.

 

 

Similar Threads

  1. v151 Surpass Hosting tells me our site's CPU usage is too high
    By scubasteve in forum General Questions
    Replies: 1
    Last Post: 16 Mar 2016, 05:22 AM
  2. Database was suspended due too overload...
    By sam_m in forum General Questions
    Replies: 3
    Last Post: 18 Feb 2010, 02:57 PM
  3. Excessive CPU Usage
    By AlexT in forum General Questions
    Replies: 19
    Last Post: 26 Dec 2008, 05:06 AM
  4. Website Suspended due to excessive server memory use
    By a4tech in forum General Questions
    Replies: 1
    Last Post: 11 Oct 2007, 01:58 PM

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