WordPress.org

Forums

[Plugin: WP Super Cache] after update 0.9.2 server resources doubled (41 posts)

  1. loller6661
    Member
    Posted 6 years ago #

    Hi,

    Updated yesterday to super cache version 0.9.2 from 0.9.1 .

    Server resources doubled after the first 18 hours after the update..

    See screenshot: http://img12.imagevenue.com/img.php?image=29095_1_122_373lo.JPG

    CPU doubled, overal serverload doubled as well.

    Wp super cache is working normally as usually, cached pages are created and the normal msg in the footer is present like always.
    I use super cache on mode half on.

    What do I have to check to find the issue? Since this cant be normal.

  2. loller6661
    Member
    Posted 6 years ago #

    additional info:

    <!-- Dynamic page generated in 1.870 seconds. -->
    <!-- Cached page generated by WP-Super-Cache on 2009-03-29 13:27:06 -->
    <!-- Compression = gzip -->

    HALF ON Super Cache Disabled, only legacy WP-Cache caching.

    after 1 minute:
    Cache Contents

    WP-Cache

    * 18 Cached Pages

    Expiry Time & Garbage Collection
    Expire time: 10800 seconds

    all settings have been the same for ages ;)

  3. loller6661
    Member
    Posted 6 years ago #

    Did a manually install, and now the cache seems to affect the server resources back to normal.. server load dropped to 0.26 after only 15 minutes...

    So better to not use the automatically installer next time I guess.

  4. Luciano Passuello
    Member
    Posted 6 years ago #

    The same happened here! Something's very wrong with 0.9.2.

  5. mmeida
    Member
    Posted 6 years ago #

    Two of my sites going down after installing 0.9.2 and now the server has 'died'.

  6. Luciano Passuello
    Member
    Posted 6 years ago #

    I wonder if this is a problem with the automatic installer not being able to update the files in wp-content, not sure. Since I don't have the time to investigate, just went back to 0.9.1 (manual install) to be safe.
    Everything is back to normal now. Whew, server alive again.

  7. michaelhyatt
    Member
    Posted 6 years ago #

    Same thing happened to me. My site is down. If I reboot the server, it stays up for about ten minutes and then goes down again. The only thing I have done is the last 48 hours is the update.

  8. Donncha O Caoimh
    Member
    Posted 6 years ago #

    I think I've fixed this. Grab http://svn.wp-plugins.org/wp-super-cache/trunk/wp-cache-phase1.php and put it in your plugins/wp-super-cache/ folder, overwriting the original file.

    Then when your site comes up again clear your cache. Please post here if that fixes it.

  9. loller6661
    Member
    Posted 6 years ago #

    michaelhyatt: your server went down probably because of to many server resources being used? - you can also install 0.9.2 and delete the cache and manually turn super cache on and off a few times. That also seems to do the trick.

  10. michaelhyatt
    Member
    Posted 6 years ago #

    I think I'm going to stick with 9.1 for a while. I didn't try the suggested fix. I just don't have the time to play with this right now. 9.1 seems to be working fine. Thanks.

  11. Donncha O Caoimh
    Member
    Posted 6 years ago #

    loller6661 - you're right. the problem was with a fix for the way PHP kills off objects during shutdown. I changed the "meta" object to an array to avoid this.
    Unfortunately cached files generated by earlier versions of the plugin had the objects cached so I just added an array check to avoid problems.

    michaelhyatt - Turn caching off on the admin page, delete the cache, and then upgrade. It'll work then. Sorry you had problems.

    0.9.2 is especially important if you're running a shiny new version of PHP5.

  12. raoulpop
    Member
    Posted 6 years ago #

    Donncha, I replaced that file as you suggested a few replies above, and my site seems to be doing better now. It kept going down all day, I had to keep rebooting the server, restarting Apache didn't seem to do much.

  13. Donncha O Caoimh
    Member
    Posted 6 years ago #

    raoulpop - glad to hear it!

  14. loller6661
    Member
    Posted 6 years ago #

    Something I forgot to add to the topic:

    donncha thanks for making wp plugins and support users ;)

  15. raoulpop
    Member
    Posted 6 years ago #

    My server's down again. Time to disable the plugin and go without it for now. Sorry Donncha, but 5 outages in one day is a lot to take.

  16. mmeida
    Member
    Posted 6 years ago #

    It's curious, the two blogs that had problems, now go OK with 0.9.1, but the rest that worked fine with 0.9.2, now don't work, nor depugrading to 0.9.1. I've had to disable the plugin in those.

  17. Donncha O Caoimh
    Member
    Posted 6 years ago #

    What version of PHP are you running? PHP5? And what revision? I need the exact version. X.Y...

    Maybe there's a pattern ..

  18. mmeida
    Member
    Posted 6 years ago #

    The PHP versiĆ³n is 5.2.6-1.el4.art.

  19. benlilley
    Member
    Posted 6 years ago #

    Hey everyone. First of all thanks for the great plugin donncha - really appreciate the work.

    Now, unfortunately 0.9.2 is wreaking havoc on my server. Our site gets around 5000+ visits a day, and is normally fine, however after upgrading to 0.9.2 the server crashes after around 10 minutes. The server load is fine, but it just seems to stop responding especially article pages. However after disabling the plugin it's fine.

    Apache Version Apache/2.2.3 (CentOS)
    PHP Version 5.2.6 (can't find exact revision sorry)

    Please help, will be sure to donate again to you as soon as I can get this fixed as our site wouldn't survive without this plugin.

  20. Donncha O Caoimh
    Member
    Posted 6 years ago #

    Grab http://svn.wp-plugins.org/wp-super-cache/trunk/wp-cache-phase1.php and http://svn.wp-plugins.org/wp-super-cache/trunk/wp-cache-phase2.php and copy into your plugins/wp-super-cache/ folder.

    I reverted some changes, fixed a bug or two and passed the output buffer "by reference" to save memory. Working fine on http://ocaoimh.ie/ and http://inphotos.org/

    Bah, coding at 5 in the morning sucks.

  21. c71123
    Member
    Posted 6 years ago #

    The 0.9.2 auto-upgrade was likely the cause of my server dying as well. My hosting provider said that too many SQL connections were left open and sleeping.

    Server specifics:
    Apache/2.2.3 (Ubuntu) DAV/2 SVN/1.4.3 PHP/5.2.1 mod_ssl/2.2.3 OpenSSL/0.9.8c

    Hope this helps. Love the plugin.

  22. Donncha O Caoimh
    Member
    Posted 6 years ago #

    c71123 - did you grab the files above and do as I suggest?

  23. raoulpop
    Member
    Posted 6 years ago #

    PHP version 5.2.4-2ubuntu5.5 apache2handler
    Database mysqli 5.0.51a-3ubuntu5.4

  24. Donncha O Caoimh
    Member
    Posted 6 years ago #

    raoulpop - did you grab the updated files this morning? Did they help?

  25. tunjic
    Member
    Posted 6 years ago #

    Same issue here. Mysql brought down multiple times over the weekend.

    mysql: 5.0.45-6.fc7
    php: 5.2.6-2.fc7

  26. titanas
    Member
    Posted 6 years ago #

    Fix looks to be working at pestaola.gr. I noticed that cached pages are generated a bit slower. Maybe it's just me. So far so good

  27. Donncha O Caoimh
    Member
    Posted 6 years ago #

    Titanas - that's good to hear the fix works. Shouldn't be any difference in generation time though. Keep me posted on that please?

  28. loller6661
    Member
    Posted 6 years ago #

    Me again ;)

    I detected that y server only stays normal in a 12 hour timeframe, after that the server load increases to double or triple, it looks like the cache isnt working properly then anymore.

    If I then do a update status + clear cache into the settings then it seems to work again for +/- 12 hours.

    PHP Version 5.2.5
    Apache version 2.0.63
    MySQL version 5.0.67-community
    linux

    will try to post graphs in the next days so you can see the pattern
    Havent yet tried out the new files, will do that in a few days so I can post the pattern as well. My blog has about 25k uniques/day just in case you needed that info.

  29. raoulpop
    Member
    Posted 6 years ago #

    Donncha, just uploaded the new files to my server and re-enabled the plugin, will let you know how things turn out. I'd been running my sites without the plugin since last night.

  30. loller6661
    Member
    Posted 6 years ago #

    installed the files you suggested but that seems to crash wordpress... I replaced them by ftp , first turned the plugin off. Then reactivated the plugin and each page is blank after that even wordpress admin pages (cache is cleared)

    I guess I'm not gonna do instant updates anymore..

Topic Closed

This topic has been closed to new replies.

About this Topic