ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

VERY strange heavy server usage issue and interesting disparity in template parsing and page rendered times...

November 23, 2011 5:28pm

Subscribe [3]
  • #1 / Nov 23, 2011 5:28pm

    Jamie Poitra

    409 posts

    Last Friday I updated to the latest Template Morsels.  Then this Monday our servers suddenly started having unusual amounts of strain being placed on them.  It’s enough the entire site is significantly slower than normal though so far it hasn’t brought things completely down yet.

    At first I was convinced that it was the update to the latest version Template Morsels as that is the only recent change to the templates or EE that I can recall.  But I’m less sure now.

    While trying to diagnose the problem I’ve been examining the template debugging logs.  At first I didn’t notice anything immediately obvious other than the fact that every step was taking a bit longer to perform than normal.  The Template Morsel’s stuff didn’t show any expected obvious delays compared to anything else like I was expecting. 

    However, I did eventually notice that there’s a disparity between the Page Rendered time and the Template Debugging log’s final time.  After the template finishes parsing (according to the log) there’s an additional .2+ seconds before the page finishes rendering.

    I can’t recall ever seeing a discrepancy like that before and it could explain the problem. 

    If there’s something hanging AFTER the templates have already been parsed and it’s adding additional load for EVERY page in the site then that would explain why the overall server load has increased enough to cause issues.

    So that’s the story.  My question would obviously be if you’ve ever seen anything like this before and if there’s anything you might be able to point me at.  I’ve obviously been speaking to Solspace as well and they haven’t been able to think of anything.  I’m still thinking it might be related to the Template Morsels update but the disparity int eh template debugging log and the page render number is just weird.

    I’d be happy to provide someone with login/pass and any further information off the forum.  And I’d be extremely grateful for any help you could give.  I’m at the point where I’m unsure where to go from here and having all of our sites suddenly extremely slow is something I’d like to solve is quickly as possible.

    The Solspace forum thread about this is here:

    http://www.solspace.com/forums/viewthread/9637/

    Jamie

  • #2 / Nov 23, 2011 5:35pm

    Jamie Poitra

    409 posts

    Further evidence of something strange going on:

    If I load a basic template with NOTHING in it except for the {elapsed_time} and {total_queries} variables and then compare the template debugging I again get a .2 second or so discrepancy between the elapsed_time and the template parsing.

  • #3 / Nov 25, 2011 3:09am

    John Henry Donovan

    12339 posts

    Hi Jamie,

    Your alternative thread seems to have covered most things.

    Can you tell me what other addons/extensions you have running?

    Downgrading or uninstalling the Template Morsels plugin is a good idea. Let us know what the result of that is.

    For the benefit of the thread your EE version is 1.7.1?

    Can you clear your cahce through your control panel and also manually by deleting all the folders under system/cache

  • #4 / Nov 25, 2011 12:05pm

    Jamie Poitra

    409 posts

    Hey John,

    So that didn’t do it sadly. 

    I was so sure it had something to do with the update.  But it’s obviously something else. 

    Reverted to the previous version and it’s still showing unusual amounts of load on the servers.

    I’ve already cleared out the cache folder as well thinking maybe something had gotten stuck there but no luck there either.

    Any other ideas? 

    I need to finish eating breakfast with my wife but I’ll be back on this later today.

    Jamie

  • #5 / Nov 29, 2011 10:04am

    Jamie Poitra

    409 posts

    Thought I had followed up on this already…

    http://www.solspace.com/forums/viewreply/45410/

    Turns out it seems to have been an old version of Cartthrob acting up.

    Jamie

  • #6 / Nov 30, 2011 3:36am

    John Henry Donovan

    12339 posts

    Ah ok good to know. Thanks for the update Jamie. Feel free to start a new thread if you have any more questions.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases