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.

Extremely slow control panel

February 23, 2012 1:51pm

Subscribe [2]
  • #1 / Feb 23, 2012 1:51pm

    RealityDesign

    70 posts

    For over a year, this site has been running fine on EE2.  Literally overnight, the CP is now lagging terribly.  Every page takes 21.5 seconds to execute, as compared to the 0.3 seconds yesterday (and for the past year).

    Is there something going on that I don’t know about on EE’s end?  Is there some issue with the news feed / update feed?

    The front-end of my website loads perfectly fine, it’s only the control panel.

    Further, the CSS is slightly screwed up, as the entire control panel appears to have about a 40 pixel body margin around the entire page.

  • #2 / Feb 23, 2012 2:18pm

    redbloc

    24 posts

    I’m getting this as well. Exact same problems.

    I’ve turned off New Version Auto Check, and the problem doesn’t seem to be affect the actual site. However, my client needs to update the site and is having to ages to update anything. Today was the launch date, so the timing could not have been worse.

    Any ideas on what’s causing this?

  • #3 / Feb 23, 2012 3:48pm

    RealityDesign

    70 posts

    I turned off new version auto check, but it makes no difference.  Still 20+ seconds per page load.  It’s basically completely unusable and has brought production to a halt.

  • #4 / Feb 23, 2012 4:38pm

    RealityDesign

    70 posts

    OK, I’ve just verified this is affecting more than 25 of my clients at various hosts.  There is clearly something very wrong on EE’s end.  Can we get a response please?

  • #5 / Feb 23, 2012 5:11pm

    RealityDesign

    70 posts

    Well, for anyone else having this problem, this is my temporary fix.  After digging for literally almost 3 hours trying to figure out where exactly the problem was, I isolated it to the version check of EE.

    Apparently they thought it was a good idea to use fsockopen to try to find the current version of EE on every single CP page load.  Anyway:

    1) Open <system_path>/expressionengine/accessories/acc.expressionengine_info.php

    2) Comment out line #161 and add “$fp = 1;” on line #162:

    //$fp = @fsockopen($ssl.$host, $port, $error_num, $error_str, 4); 
    $fp = 1;

    Now my pages load in 0.3 seconds instead of 25.

  • #6 / Feb 23, 2012 5:25pm

    redbloc

    24 posts

    That worked a treat. Nice work, thank you!

  • #7 / Feb 23, 2012 6:04pm

    RealityDesign

    70 posts

    That worked a treat. Nice work, thank you!

    You’re very welcome.  Honestly, this is the fastest the control panel has ever been in a year.  I can’t believe how much that one stupid line (even when it works properly) slows things down.

  • #8 / Feb 23, 2012 11:38pm

    Kevin Smith

    4784 posts

    Hey all,

    Thanks for the help you provided each other on this. You’re right, it was something on our end. Please check this reply I posted on another support thread that brought up the same issues.

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

ExpressionEngine News!

#eecms, #events, #releases