Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Feb 2009
    Posts
    9
    Plugin Contributions
    0

    Default High Parse Times - Query times OK

    This is the latest version of Zen. Everything seems to run just fine. I have searched here and googled on several occasions. So far I have not found anything that seems to fit this particular issue.

    What seems to be happening is an initial parse time of 20 seconds, Query times are always well under 1 second. typical around .08 - .12 seconds. The parse time only jumps up and it is always exactly 20.xxx seconds.

    It is most noticeable if I have not been to the site in a while. Say an hour or so. Every subsequent page load parse times are normal. >1 second. I am at a loss here and cannot explain it to the customer.

    Does anyone have any idea at all what this could be? I know we are losing some people while they are waiting for the page to load.

    FWIW you will have to view source to see the Parse times, they are not "on page" but they are embedded in source near the end of page.

    It seems it may be a cache issue, where the cache must be rebuilt if it is aged? IDK I am drawing straws. hopefully someone here can point what I am missing.

    site is at http://www.bodyjewels.com

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: High Parse Times - Query times OK

    It seems it may be a cache issue, where the cache must be rebuilt if it is aged?
    Exactly, but 20 seconds is still a long time??
    Is this a 'nix server or a win server?
    Is it a shared hosting account?
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Feb 2009
    Posts
    9
    Plugin Contributions
    0

    Default Re: High Parse Times - Query times OK

    Sorry about that. It is a Unix CentOS 5 flavor, running on Media temple's DV VPS server. Yes it is shared, however I actually have several sites running on Media Temple and everyone of them runs very well. Wordpress, a custom PHP app using smarty templates we have developed, as well as another zen cart in development all run really well.

    This site is the only one hosted on this VPS.
    Last edited by BodyJewels; 24 Jun 2009 at 12:07 AM.

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: High Parse Times - Query times OK

    Code:
    Media temple's DV VPS server
    
    This site is the only one hosted on this VPS.
    Your experience with them differs from any that I have...
    What resources does this VPS have
    % CPU
    % CPU burst
    RAM
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Feb 2009
    Posts
    9
    Plugin Contributions
    0

    Default Re: High Parse Times - Query times OK

    That I cannot answer, I only know that we have a dedicated 256M Ram, and 20G of storage. I do not know the CPU questions nor can I find anything like that. I can tell from experience with another site on the same platform, that serves over 10,000 pages per day of php/smarty cache, and the CPU usage sits at around .20 percent during peak. .10 average. Parse times around .10 or so.

    What I noticed and when this became very apparent. Was when we switch from a full dedicated box, to the VPS. Her traffic does not warrant a full ded.

    What used to be 4 or 5 seconds delay, has now ballooned to a full 20 seconds. Everything seems to point to a cache issue IMHO.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: High Parse Times - Query times OK

    If the query time is low but the parse time is high, that generally indicates that the processing of the PHP instructions is what's taking up the most time. This usually suggests that the server's CPU load is too high, because the delays are in PHP processing, and not in the database queries.
    .

    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.

 

 

Similar Threads

  1. Very High Parse Times on Testing Server
    By greentrees in forum General Questions
    Replies: 1
    Last Post: 11 Jun 2011, 02:38 PM
  2. How do I test MySQL parse and query times?
    By Boomdawg in forum General Questions
    Replies: 1
    Last Post: 19 Mar 2010, 07:44 PM
  3. high query and parse times
    By JimmyV in forum General Questions
    Replies: 6
    Last Post: 29 Jan 2010, 05:18 PM
  4. Parse and query times very high
    By Altisreef.com in forum General Questions
    Replies: 3
    Last Post: 1 Feb 2009, 10:41 PM
  5. High Parse & Queries Times?? Running Slow!
    By marcopolo in forum General Questions
    Replies: 2
    Last Post: 22 Aug 2008, 09:27 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