Results 1 to 10 of 10
  1. #1
    Join Date
    May 2005
    Posts
    103
    Plugin Contributions
    0

    Default Suspension from excessive resources all of a sudden

    My host recently suspended me, and I believe it was because my zencart was taking up excessive resources. They basically said "fix it or get lost." Thing is, I have been rhunning zencart for 1.5 years without a problem. Do you think this could be because I was running an older version? I can't remember the version off the top of my head, but my index.php file says this: // $Id: index.php 886 2005-01-05 07:00:34Z birdbrain $

    Does anyone have any recommendations?

    My host provided me with this information:

    Your account was suspended today for utilizing excessive resources on our server and causing it to come near to crashing. We have suspended your account until you contact us to resolve the issue. Here is some information we gathered about the processes running at the time:

    PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
    7410 idoser2 21 0 7624 7624 3468 R 3.1 0.1 0:00 2 php
    7393 idoser2 24 0 7588 7588 3468 R 2.9 0.1 0:00 3 php
    7342 idoser2 24 0 7644 7644 3468 R 2.8 0.1 0:01 2 php
    7318 idoser2 23 0 7760 7760 3476 R 2.7 0.1 0:01 1 php
    7341 idoser2 24 0 7628 7628 3468 R 2.7 0.1 0:01 3 php
    7351 idoser2 22 0 7584 7584 3468 R 2.7 0.1 0:00 3 php
    7388 idoser2 23 0 7576 7576 3468 R 2.5 0.1 0:00 1 php
    7273 idoser2 25 0 7764 7764 3476 R 2.4 0.1 0:01 2 php
    7349 idoser2 25 0 7592 7592 3468 R 2.3 0.1 0:01 3 php
    7400 idoser2 22 0 7424 7424 3456 R 2.3 0.1 0:00 2 php
    7381 idoser2 23 0 7580 7580 3468 R 2.1 0.1 0:00 1 php
    7275 idoser2 24 0 7772 7772 3476 R 1.9 0.1 0:01 2 php
    7458 idoser2 23 0 7372 7372 3448 R 1.9 0.1 0:00 1 php
    7392 idoser2 22 0 7448 7448 3460 R 1.7 0.1 0:00 0 php
    7432 idoser2 22 0 7448 7448 3460 R 1.7 0.1 0:00 2 php
    7438 idoser2 23 0 7380 7380 3448 R 1.7 0.1 0:00 1 php
    7363 idoser2 23 0 7596 7596 3468 R 1.6 0.1 0:00 1 php
    7380 idoser2 23 0 7572 7572 3468 R 1.6 0.1 0:00 1 php
    7429 idoser2 23 0 7388 7388 3448 R 1.6 0.1 0:00 1 php
    7437 idoser2 21 0 7448 7448 3460 R 1.6 0.1 0:00 1 php
    7451 idoser2 24 0 7348 7348 3448 R 1.5 0.1 0:00 1 php
    7290 idoser2 25 0 7640 7640 3468 R 1.4 0.1 0:00 3 php
    7396 idoser2 22 0 7448 7448 3460 R 1.4 0.1 0:00 3 php
    7433 idoser2 23 0 7372 7372 3448 R 1.4 0.1 0:00 2 php
    7435 idoser2 23 0 7352 7352 3448 R 1.4 0.1 0:00 1 php
    7453 idoser2 24 0 7388 7388 3448 R 1.4 0.1 0:00 0 php
    7262 idoser2 25 0 7760 7760 3476 R 1.3 0.1 0:01 1 php
    7281 idoser2 25 0 7756 7756 3476 R 1.2 0.1 0:01 3 php
    7300 mysql 17 0 108M 91M 1652 S 1.1 2.2 0:00 0 mysqld
    7364 idoser2 23 0 7508 7508 3468 R 1.0 0.1 0:00 0 php
    7401 mailnull 15 0 4200 4200 2660 S 1.0 0.1 0:00 2 exim
    7454 idoser2 24 0 7340 7340 3448 R 1.0 0.1 0:00 1 php
    7537 mysql 20 0 108M 91M 1652 R 1.0 2.2 0:00 3 mysqld
    7556 theret2 23 0 3932 3932 1244 R 1.0 0.0 0:00 3 cpshop.cgi
    7269 idoser2 24 0 7628 7628 3468 R 0.9 0.1 0:01 1 php
    7373 idoser2 24 0 7396 7396 3448 R 0.9 0.1 0:00 0 php
    7376 idoser2 24 0 7368 7368 3448 R 0.9 0.1 0:00 1 php
    7378 idoser2 24 0 7388 7388 3448 R 0.9 0.1 0:00 1 php
    7567 cpanel 22 0 7060 7060 2428 S 0.9 0.1 0:00 2 php
    7514 mailnull 17 0 4196 4196 2656 S 0.8 0.1 0:00 3 exim
    7553 mailnull 21 0 4180 4180 2636 R 0.8 0.1 0:00 2 exim
    7422 mysql 18 0 108M 91M 1652 S 0.7 2.2 0:00 3 mysqld

    +---------+-----------------+-----------+---------------------+---------+------+--------------+--------------------------------------------------------------
    ----------------------------------------+
    | Id | User | Host | db | Command | Time | State | Info
    |
    +---------+-----------------+-----------+---------------------+---------+------+--------------+--------------------------------------------------------------
    ----------------------------------------+
    | 5556218 | idoser2_idoser2 | localhost | idoser2_store | Query | 0 | |
    |
    | 5556238 | idoser2_idoser2 | localhost | idoser2_store | Query | 0 | updating | delete from whos_online where time_last_click < '1168899361'
    |
    | 5556239 | horde | localhost | horde | Sleep | 36 | |
    |
    | 5556271 | vision18_imga1 | localhost | vision18_imga1 | Sleep | 15 | |
    |
    | 5556285 | idoser2_idoser2 | localhost | idoser2_store | Sleep | 1 | |
    |
    | 5556286 | idoser2_idoser2 | localhost | idoser2_store | Query | 0 | cleaning up | select products_id, products_qty_box_status from products wh
    ere products_id = '231' |
    | 5556296 | idoser2_idoser2 | localhost | idoser2_store | Query | 0 | cleaning up | select options_id, price_prefix, options_values_price, attrib
    utes_display_only, attributes_price_bas |
    | 5556307 | idoser2_idoser2 | localhost | idoser2_store | Query | 0 | |
    |
    | 5556314 | idoser2_idoser2 | localhost | idoser2_store | Query | 0 | cleaning up | select options_id, price_prefix, options_values_price, attrib
    utes_display_only, attributes_price_bas |
    | 5556316 | idoser2_idoser2 | localhost | idoser2_store | Query | 2 | cleaning up | select sale_specials_condition, sale_deduction_value, sale_de
    duction_type from salemaker_sales where |
    | 5556318 | termin4_smf1 | localhost | termin4_smf1 | Query | 0 | update | INSERT IGNORE INTO smf_sessions
    (session_id, data, last_update)
    VALUES ('05a42adce7c8f203c620 |
    | 5556322 | idoser2_forum | localhost | idoser2_idoserforum | Query | 1 | cleaning up | SELECT t.*, u.username, u.user_id, u2.username as user2, u2.u
    ser_id as id2, p.post_username, p2.post |
    | 5556324 | idoser2_idoser2 | localhost | idoser2_store | Query | 2 | cleaning up | select sale_specials_condition, sale_deduction_value, sale_de
    duction_type from salemaker_sales where |
    | 5556325 | termin4_smf1 | localhost | termin4_smf1 | Query | 1 | Sending data | SELECT
    t.ID_TOPIC, t.numReplies, t.locked, t.numViews , t.isSticky, t.ID_POLL,
    IFNULL(lt.logTim |
    | 5556327 | idoser2_idoser2 | localhost | idoser2_store | Query | 0 | | select sale_specials_condition, sale_deduction_value, sale_de
    duction_type from salemaker_sales where |
    | 5556328 | idoser2_idoser2 | localhost | idoser2_store | Sleep | 1 | |
    |
    | 5556333 | idoser2_idoser2 | localhost | idoser2_store | Query | 1 | init | select sale_specials_condition, sale_deduction_value, sale_de
    duction_type from salemaker_sales where |
    | 5556334 | idoser2_idoser2 | localhost | idoser2_store | Query | 0 | cleaning up | select products_price, products_model, products_priced_by_att
    ribute from products where products_id |
    | 5556335 | horde | localhost | horde | Sleep | 5 | |
    |
    | 5556339 | idoser2_idoser2 | localhost | idoser2_store | Query | 0 | cleaning up | select specials_new_products_price from specials where produc
    ts_id = '182' and status='1' |
    | 5556342 | idoser2_idoser2 | localhost | idoser2_store | Query | 2 | cleaning up | delete from whos_online
    where time_last_click < '1168899358' |
    | 5556344 | idoser2_idoser2 | localhost | idoser2_store | Sleep | 1 | |
    |
    | 5556345 | eximstats | localhost | eximstats | Sleep | 2 | |
    |
    | 5556347 | nature18 | localhost | nature18_shop | Query | 0 | Sending data | select specials_id from specials where status = '1' and now()
    >= expires_date and expires_date > 0 |
    | 5556348 | idoser2_idoser2 | localhost | idoser2_store | Query | 0 | cleaning up | select products_id, products_quantity_order_min from products
    where products_id = '193' |
    | 5556349 | idoser2_idoser2 | localhost | idoser2_store | Sleep | 0 | |
    |
    | 5556350 | idoser2_idoser2 | localhost | idoser2_store | Query | 0 | cleaning up | select products_id, products_quantity_order_min from products
    where products_id = '180' |
    | 5556351 | idoser2_idoser2 | localhost | idoser2_store | Query | 0 | Locked | delete from whos_online
    where time_last_click < '1168899361' |
    | 5556352 | idoser2_idoser2 | localhost | idoser2_store | Query | 0 | | select template_dir
    from template_select where template_language = '0' |
    | 5556353 | idoser2_idoser2 | localhost | idoser2_store | Query | 0 | | select products_id, products_quantity_mixed from products whe
    re products_id='207' limit 1 |
    | 5556354 | idoser2_idoser2 | localhost | idoser2_store | Sleep | 0 | |
    |
    | 5556356 | idoser2_idoser2 | localhost | idoser2_store | Query | 0 | | select configuration_key as cfgkey, configuration_value as cf
    gvalue
    |
    | 5556357 | idoser2_idoser2 | localhost | idoser2_store | Query | 0 | | select configuration_key as cfgkey, configuration_value as cf
    gvalue
    |
    | 5556358 | root | localhost | | Query | 0 | | show processlist
    |
    | 5556359 | termin4_smf1 | localhost | | Sleep | 1 | |
    |
    | 5556360 | idoser2_idoser2 | localhost | idoser2_store | Sleep | 1 | |
    |
    | 5556361 | idoser2_idoser2 | localhost | | Sleep | 1 | |
    |
    | 5556362 | idoser2_idoser2 | localhost | idoser2_store | Sleep | 1 | |
    |
    | 5556363 | idoser2_idoser2 | localhost | idoser2_store | Sleep | 1 | |
    |
    | 5556364 | idoser2_idoser2 | localhost | idoser2_store | Sleep | 1 | |
    |
    | 5556365 | idoser2_idoser2 | localhost | idoser2_store | Sleep | 0 | |
    |
    +---------+-----------------+-----------+---------------------+---------+------+--------------+--------------------------------------------------------------
    ----------------------------------------+

    If you have any questions for us, please e-mail immediately by replying to this ticket and we can assist you. Thank you for your cooperation in this matter.

  2. #2
    Join Date
    Feb 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: Suspension from zencart excessive resources all of a sudden

    I am also having this exact same problem.
    Zen cart has been running fine for over a year and all of a sudden our account has been suspended by the host for excessive resource use.

    What is the solution?

  3. #3
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Suspension from zencart excessive resources all of a sudden

    What version of ZC?

    and you need to login using FTP and see if there are any files that haven been changed or added recently
    Zen cart PCI compliant Hosting

  4. #4
    Join Date
    Feb 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: Suspension from zencart excessive resources all of a sudden

    Quote Originally Posted by Merlinpa1969 View Post
    What version of ZC?
    Version 1.2.4

    Quote Originally Posted by Merlinpa1969 View Post
    and you need to login using FTP and see if there are any files that haven been changed or added recently
    Unfortunately this installation was done before I came on the project. I wasn't the one who installed it, or built it, or really had anything to do with it. That person is gone, and now I'm here. Long story short I wouldn't know a change if I saw one.

    I don't mind digging in the code, but I really have no idea what I should be looking for. It's like when your car breaks down and you pop the hood hoping whatever is broken is obvious. Unfortunately nothing I saw was obvious...

    As far as date the file was modified, nothing has been touched since before I got here. As far back as 5/17/2005

    Sorry I can't be more help. Thanks for your help though.

  5. #5
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Suspension from zencart excessive resources all of a sudden

    you need to take a look in the folders,
    look for anything that has been modified recently,
    the modified dates will be displayed in the ftp

    start by looking in the images folders,
    and also view src on the index.php

    see if you see anything about an iframe
    Zen cart PCI compliant Hosting

  6. #6
    Join Date
    Feb 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: Suspension from zencart excessive resources all of a sudden

    I looked through the images folder so far and nothing has been updated within the past year.

    I looked in the src of index.php, as well as the actual code and didn't find anything having to do with an iframe.

    I'll continue to look through the remaining folders, but so far have found no files that have been updated within a year, some older.

    The index.php file has been updated recently, but that's from our host renaming the file to stop the resources being consumed.

    Here is the log information they sent me:
    [ID]: 5464 (php.exe) [Parent: 7400] [User: WEBB43\IUSR_209.200.106.10]
    [cmd]: C:\php4\php.exe D:\inetpub\carnetts\ZenCart\index.php
    Mem: 14116k VMem: 52540k PageFaults: 4412
    [Threads: 2] [Reads: 392] [Writes: 2] [Other: 2208] [Hndls: 120]

    and it continues on with dozens of these.

  7. #7
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Suspension from zencart excessive resources all of a sudden

    Perhaps you've suddenly been indexed by another search engine, and while they're spidering your site to index all the links ... it suddenly caused your site to use a lot of system resources. Depending on the size of your site, this could take an hour or a day. How long was it happening for ? Is your host truly "sized" to run an eCommerce website ? Perhaps they can't handle the demands of a busy ecommerce shop on their hosting server(s) ?
    .

    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.

  8. #8
    Join Date
    Feb 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: Suspension from zencart excessive resources all of a sudden

    It is a very good possibility that the host can't handle the requests. However, this site has been up for almost 2 years, and the type of business it is does not lead to massive growth that would "all of a sudden" crash the site.

    In other words the host is probably not "sized" to run a site like amazon, but this site is far from that level of eCommerce.

    I also don't know how long it was happening. All I know is the site has been running great for over a year and then today we get a message from the host saying that processes are being spawned and not being released.

    I dont' know much about php or ZenCart, so I don't know what to look for, and I didn't customize this particular site so I don't know if anything was changed that shouldn't have been that might be causing processes not to be released.

    I also don't know if the overflow is building gradually (for days, weeks, or months) until it boils over or if this is happening all at once.

    Here's the message I got from our host:

    "Due to a large number PHP processes spawning just from your site, we had
    to temporarily one of your scripts( ZenCart index.php ). Whenever a PHP process is spawned,
    it should close shortly thereafter.

    In this case, the PHP processes were spawned and never released, thus
    building up many processes that would not close and severely hindered
    the ability for our server to process any other requests. In a shared
    environment, this is not acceptable and will need to be addressed as
    your site caused severe problems in resource usage. "

    Any thoughts or questions?

  9. #9
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Suspension from excessive resources all of a sudden

    One way to help this will be to upgrade to 1.3.7
    It will actually stop the persistent connections,

    but depending on the server it only take a few mom and pop accounts to bring it to its knees, if its NOT optomized for hi mysql usage
    Zen cart PCI compliant Hosting

  10. #10
    Join Date
    Feb 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: Suspension from excessive resources all of a sudden

    Quote Originally Posted by Merlinpa1969 View Post
    but depending on the server it only take a few mom and pop accounts to bring it to its knees, if its NOT optomized for hi mysql usage

    That's a very good point. I could see that being the problem.
    I will definitely upgrade and see if that helps, otherwise it looks like it may be a hosting issue. I would think that if this was some type of weird bug or issue with ZenCart that someone would have had the same problem and could provide their insight.


    Thanks for the help.

 

 

Similar Threads

  1. Blank Page all of a sudden
    By gabstero in forum General Questions
    Replies: 8
    Last Post: 20 Feb 2014, 06:54 PM
  2. Help please, all coupons just stopped working all of a sudden
    By tj1 in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 7
    Last Post: 23 Jan 2010, 05:37 PM
  3. Replies: 16
    Last Post: 7 Mar 2009, 09:41 PM
  4. excessive resources usage
    By polnaref in forum General Questions
    Replies: 8
    Last Post: 30 Apr 2008, 02:15 PM

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