Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2015
    Posts
    423
    Plugin Contributions
    0

    Default CPU usage during search is high

    When I do a search on my Site I noticed the cpu load is high and at times causes random 500 errors

    I believe the module causing this issue is dynamic filters plugin which seems to run well on my site with exceptions of random 500 errors caused by high cpu usage.

    Does anyone have a recommendation on how to tackle this issue. Is there a piece of code I can remove that is hogging the resources during the search process

  2. #2
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,690
    Plugin Contributions
    9

    Default Re: CPU usage during search is high

    Quote Originally Posted by chadlly2003 View Post
    When I do a search on my Site I noticed the cpu load is high and at times causes random 500 errors

    I believe the module causing this issue is dynamic filters plugin which seems to run well on my site with exceptions of random 500 errors caused by high cpu usage.

    Does anyone have a recommendation on how to tackle this issue. Is there a piece of code I can remove that is hogging the resources during the search process
    500 errors will generate an error message in a log file. by providing that information, it makes it a lot easier to begin problem solving.

    if the error happens "randomly" as described, it is probably a server configuration issue, where there are not enough resources to complete the request.

    that said, it is entirely possible that the request could be optimized to not use as many resources. but without the log for the error, it makes it very difficult to provide a precise solution.

    best.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

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

    Default Re: CPU usage during search is high

    Carl that the problem there is no record in the server log or php log. The only thing i noticed was when i do a search is when it seems to happen randomly.

    you mentioned "possible that the request could be optimized to not use as many resources". Not sure where to begin with that one. I guess if anyone has any ideas please let me know.

  4. #4
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,690
    Plugin Contributions
    9

    Default Re: CPU usage during search is high

    chadlly,
    if we are talking about a http 500 response code, then your server will log an error. whether you are able to see the error is a different story.... and whether the server is properly configured to store the error would be another factor. are you on a shared host?

    can you provide a url? also what version of php and ZC are you running?

    best.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

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

    Default Re: CPU usage during search is high

    carl i sent you a pm with the url.

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

    Default Re: CPU usage during search is high

    not sure if this helps

    server information on zen cart 1.5.4


    Server OS: Linux 2.6.32-042stab104.1
    Database: MySQL 5.6.38
    Server Date: 12/15/2017 18:01:48
    Database Date: 12/15/2017 18:01:48
    Server Up Time: Disabled/Unavailable
    HTTP Server: Apache
    PHP Version: 5.6.32 (Zend: 2.6.0)
    PHP Memory Limit: 128M
    PHP Safe Mode: Off
    PHP File Uploads: On
    Max Size: 2M P
    OST Max Size: 8M
    Database Data Size: 113,325 kB

 

 

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. v150 HIGH CPU Usage with FB's Bots
    By lilly06 in forum General Questions
    Replies: 2
    Last Post: 23 Oct 2012, 06:44 PM
  3. High cpu usage and error
    By lilly06 in forum General Questions
    Replies: 5
    Last Post: 23 Aug 2012, 08:59 PM
  4. Zencart and High CPU Usage?
    By mattmf1286 in forum General Questions
    Replies: 5
    Last Post: 21 Jul 2010, 09:52 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