WordPress.org

Ready to get started?Download WordPress

Forums

wordpress going godzilla on vps memory (11 posts)

  1. poweredbymilo
    Member
    Posted 3 years ago #

    hello there,

    so i'm running a small vps with 256mb of ram, which is cool, until i load up my wordpress which as the title says 'goes godizilla on my memory' , not so cool.

    i'm testing a relatively fresh install of wordpress 3.0.4 with the studiopress 'genesis' framework and zero active plugins(30 inactive), and on a fresh restart of my apache2 daemon i'm getting(via free -m):

    total       used       free     shared    buffers     cached
    Mem:           256         48        207          0          0          0
    -/+ buffers/cache:         48        207
    Swap:            0          0          0

    then i load up my wordpress blog in my browser, click through a page or two, then log in to wp-admin, and boom, i'm getting:

    total       used       free     shared    buffers     cached
    Mem:           256        225         30          0          0          0
    -/+ buffers/cache:        225         30
    Swap:            0          0          0

    i've set the php memory allocation to 32mb, and have optimized both apache and mysql for wordpress use on a vps thanks to some tutorials, but still this kind of memory usage can't be right, though i could be wrong.

    the reason i've disabled the plugins was because i was getting the whole WSoD due to php memory exhaustion. yes, i could up the cap to 64mb, but that doesn't really help slim down this beast.

    any help would be much appreciated.

    TIA

  2. Whats your PHP setup? Suphp or ...?

  3. poweredbymilo
    Member
    Posted 3 years ago #

    mod_php for apache2.

    just regular old php5(5.2.4), with Suhosin Patch and Zend Engine 2.2, if that helps.

    sorry, have been running vps as is, so still novice with anything beyond server-side scripting.

  4. It might. Suhosin has been known to be problematic with ... Everything.

  5. poweredbymilo
    Member
    Posted 3 years ago #

    do you think the Suhosin patch might be to blame for such a hungry wordpress?

    i've run regular webpages and tested clipshare a while back, and don't recall having such a draw on resources.

  6. poweredbymilo
    Member
    Posted 3 years ago #

    also, i should mention that this site is live(in a sense), but user-auth protected via htaccess for development, so it's only me who's accessing the blog.

  7. Suhosin has been weird. It's a great idea, but I had to remove it from my servers to make them work with any complicated PHP app.

  8. poweredbymilo
    Member
    Posted 3 years ago #

    so besides Suhosin, can you(or anyone) think of anything else that could be eating up so much ram? or is this somewhat normal for wordpress?

    i'm upgrading to a new vps over the next few days, and with it 1gb of ram. i'm just here hoping that this issue keeps to the 256mb range, and doesn't become hungry for the other 768mb's to come. that would be unfortunate.

  9. I have a VPS with 4 domains, three WP installs (two with BuddyPress) and a forum, and my memory is usually around 250mb range, with significant traffic.

    That said, I have W3 Total Cache and APC turned on.

    It SHOULD be fine.

  10. poweredbymilo
    Member
    Posted 3 years ago #

    cool. well, if anything comes up, i'll be sure to make some noise ^^

    thanks Ipstenu, i'll read more into the Suhosin patch.

    -milo.

Topic Closed

This topic has been closed to new replies.

About this Topic