Thread: High load

Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2011
    Posts
    1
    Plugin Contributions
    0

    Default High load

    Hello
    My client posses Zen cart - 1.3.9
    and his site have a big trouble.
    When its opening by any browser (except Google Chrome) its generating high load - it opens 1 page per 30 seconds+...
    I located the problem, and its coming by this code at main index
    PHP Code:
      require('includes/application_top.php');

      
    $language_page_directory DIR_WS_LANGUAGES $_SESSION['language'] . '/';
      
    $directory_array $template->get_template_part($code_page_directory'/^header_php/');
      foreach (
    $directory_array as $value) { 
    /**
     * We now load header code for a given page. 
     * Page code is stored in includes/modules/pages/PAGE_NAME/directory 
     * 'header_php.php' files in that directory are loaded now.
     */
        
    require($code_page_directory '/' $value);
      } 
    I understand that this FOREACH goes through a lot of files.
    I am not sure from where to start .. Does any one have idea what may be the problem, or at least to tell me where to search for a problem.. (modules.. templates..)

  2. #2
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: High load

    What is the URL?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: High load

    Hello and Welcome to the Forum.

    By what method are you determining it is Zen Cart that is causing the high load; or the file you mentioned?

 

 

Similar Threads

  1. v151 High Parse time, slow load of site
    By stoneroses6300 in forum General Questions
    Replies: 9
    Last Post: 5 Dec 2014, 01:34 AM
  2. Server Load with High Traffic
    By BattleFish in forum Installing on a Linux/Unix Server
    Replies: 5
    Last Post: 23 Mar 2012, 07:38 AM
  3. High Load warning from web hosting. HELP!
    By xuhuamao in forum General Questions
    Replies: 2
    Last Post: 28 Sep 2007, 04:54 PM
  4. 100% CPU under High Load
    By mrbrownstone in forum General Questions
    Replies: 4
    Last Post: 6 Jul 2007, 03:05 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