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.

Web site slowness in EE 2.5

November 08, 2012 7:05pm

Subscribe [2]
  • #1 / Nov 08, 2012 7:05pm

    creativemedia

    6 posts

    I’ve been battling page loading issues for certain portions of our site. I’ve spent some time checking caches, stepping through the code, rebuilding thumbnails and image sizes and also database optimizations.

    I turned on debugging on the site and ended up seeing the following for one of the template debugging scenarios. In other instances the page load would completely timeout:

    (0.132232 / 3.99MB) Calling Extension Class/Method: Matrix_ext/channel_entries_tagdata
    (2.733105 / 4.52MB) Calling Extension Class/Method: Pt_field_pack_ext/channel_entries_tagdata
    (2.738682 / 4.37MB) -> Data Returned

    has anyone has this issue? I can readily show the associated code for that template as well.

    Thanks in advance

    some of the add-ons in use are matrix, switchee for conditionals

  • #2 / Nov 09, 2012 10:40am

    glenndavisgroup

    436 posts

    Hi creativemedia,

    What is your exact EE version?

    Which add-ons/modules do you have installed if any?

    Is your EE site and db on the same server?

    Are you on a shared or dedicated hosting account?

    Do you have SSH access to your server?

    Thank you,

    Mike

  • #3 / Nov 09, 2012 11:10am

    creativemedia

    6 posts

    What is your exact EE version?

    v2.5.3

    Which add-ons/modules do you have installed if any?

    Enabled Modules are:

    Assets
    Channel
    Deeploy Helper
    Email
    Emoticon
    File
    JQuery
    Member
    Query
    RSS
    SafeCracker
    Search
    Statistics
    Structure

    Enabled Extensions are:

    Assets
    Structure
    SafeCracker
    P&T Field PAck
    Matrix

    Is your EE site and db on the same server?

    Yes they are on the same server

    Are you on a shared or dedicated hosting account?

    Its actually VPS hosting

    Do you have SSH access to your server?

    Yes I do have access to it.

  • #4 / Nov 09, 2012 11:12am

    creativemedia

    6 posts

    To add to my previous reply, I have tried updating to the latest github version of P&T Field PAck based on a forum response from pixelandtonic staff but that didn’t work to help things.

  • #5 / Nov 09, 2012 11:34am

    glenndavisgroup

    436 posts

    Connect to your server via SSH and run the following command as super user at the command line and report the results back:

    time du -hs

    This command will give us the amount of time it takes for your server to calculate the directory size. This will help tell us if the server you are hosting on is the issue.

    Thank you,

    Mike

  • #6 / Nov 09, 2012 12:06pm

    creativemedia

    6 posts

    I got this response:

    # time du -hs
    36G .

    real 0m12.338s
    user 0m0.087s
    sys 0m0.834s

    I did it on the main www directory which has both the staging and production versions of the sites.

  • #7 / Nov 09, 2012 12:19pm

    glenndavisgroup

    436 posts

    It looks like the server you are on might have some really heavy traffic on it. Look at the first real number. It’s taking 12.3 seconds to calculate a simple directory size. This is not a good sign. This should really take 1 second or less in normal server conditions. Try running this command each time you notice a slow down and see how bad it gets. Are you by any chance hosting with GoDaddy.com?

    Mike

  • #8 / Nov 09, 2012 12:33pm

    creativemedia

    6 posts

    We’re on rackspace actually. Let me try running the command a few times and see the results. Also I’ll look at doubling the ram we have (currently 2gb with 160kb free)

  • #9 / Nov 12, 2012 10:06am

    Shane Eckert

    7174 posts

    Hi creativemedia,

    Sounds good. Is there anything else I can help with?

    Cheers,

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

ExpressionEngine News!

#eecms, #events, #releases