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.

High memory use, slow page load, in CP

July 06, 2011 1:23pm

Subscribe [2]
  • #1 / Jul 06, 2011 1:23pm

    dstechroom

    113 posts

    Hello -

    We have a site where we are experiencing slow page load in the Control Panel.
    Debugging shows memory usage to be at least 8mb (Usually about 8.5).
    Loading time takes anywhere from 3 to 70+ seconds

    ExpressionEngine vs 2.1.1 build 20101020

    I’m wondering the best way to determine what’s using the page load - As this is in the CP, there shouldn’t be template parsing issues, etc. Memory load is usually only about 1.5mb - 3mb in other ExpressionEngine CP’s we’ve used.

    No accessories are installed and the only extensions used are for hooks:
    insert_comment_end
    friends_status_update_status (Custom hook for FBC module)
    channel_module_create_pagination

    I suspect its related to the Solspace FBC (Facebook Connect, vs 1.0.2) module used, but I can’t see where code for that would get called in the admin area.

    I’ve included an image of a typical CP page load. This issue appears on any / all control panel pages, but is sometimes lower in time (Altho consistently high in memory usage).

    Any ideas on where to start looking for issues?

  • #2 / Jul 07, 2011 5:59am

    John Henry Donovan

    12339 posts

    dstechroom,

    Start by disabling extensions. Head to Add-ons -> Extensions and use the button in the top right to Disable extensions’ Using this button will keep all your settings intact. Do NOT disable them individually or you will loose settings

    If you notice a considerable difference in load then it may well be an extension

    What other extensions do you have installed?

  • #3 / Jul 07, 2011 11:08am

    dstechroom

    113 posts

    Hi John -

    I’ve disabled extensions which did not result in any performance increases (or less memory use).
    Extensions installed are (These account for the three hooks used mentioned in the original post):
    FBC (Solspace Facebook Connect v 1.0.2)
    Logiq Pagination

    I copied the database, third_party addons folder as well as the themes/third_party folder to our dev server and interestingly page load seems quicker and memory use in the CP is only a little over 5mb.

    I’d say the development server is clearly less-trafficked and so would of course be faster (it still might suffer the same issues as the dev server), but the memory usage is still much less. (~5.2mb vs 8.5mb+ and about 10mb on the frontend vs 15-20mb)

    Wonder what server differences might account for this?

  • #4 / Jul 07, 2011 4:55pm

    dstechroom

    113 posts

    OK, so the dev server had Zend Optimizer and eAccelerator, which the production server did not have (And now does).

    The memory usage is down to normal levels of 5mb or so.

    However page load speed is still slow :/

    Time to do more tests…

  • #5 / Jul 08, 2011 3:43pm

    dstechroom

    113 posts

    Upgraded to EE 2.2.1 and updated the FBC module to the newest 2.0 version.
    The Control Panel does use about 8mb of memory usage now, however the site seems to be running very fast.

    After some talk with the server techs, the biggest concern appeared to be wait time related to external data (Read: Old FBC module was slow, which was exasperated by its use of old Facebook APIs. The update took care of this).

    Thanks for your help.

  • #6 / Jul 12, 2011 7:42pm

    Lisa Wess

    20502 posts

    Hi, dstechroom -

    Glad to see that you’re up and running now! If anything else comes up, please do let us know.  Thank you.

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

ExpressionEngine News!

#eecms, #events, #releases