1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

each httpd using 178MB of RES RAM!

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by tkalfaoglu, Apr 2, 2012.

  1. tkalfaoglu

    tkalfaoglu Regular Pleskian

    30
    68%
    Joined:
    Oct 6, 2005
    Messages:
    290
    Likes Received:
    1
    Hi there.. I am not sure how to trim the httpd bloat -- the top processes, sorted by memory usage on my server are:

    Any ideas where to begin trimming the fat??
    Thanks, -turgut
     
  2. tkalfaoglu

    tkalfaoglu Regular Pleskian

    30
    68%
    Joined:
    Oct 6, 2005
    Messages:
    290
    Likes Received:
    1
    No one can help?
     
  3. Hostasaurus.Com

    Hostasaurus.Com Regular Pleskian

    30
    68%
    Joined:
    Oct 8, 2009
    Messages:
    465
    Likes Received:
    8
    Are you using PSA's httpd? I've found it uses many times more memory than the normal centos/rhel apache; probably from loading up every module ever written, you can disable the ones you don't need to shrink it back down.
     
  4. Amin Taheri

    Amin Taheri Golden Pleskian Plesk Certified Professional

    33
     
    Joined:
    Jul 5, 2007
    Messages:
    1,398
    Likes Received:
    1
    Location:
    Seattle Area
    There are a few things you can try - run php as a dso instead of fcgi/cgi as it uses more memory for the cgi/fcgi, dont use suphp (or any variant), disable httpd modules you dont want/need, set rLmits for memory usage, use suhosin so users cant specify high memory usage in ini_set function calls in their php scripts.

    173 doesnt seem that high though in comparison, ours use anywhere from 170-400 depending on the application and how long its been running and the system runs ok. A lthough we do run things like cloudlinux that will rate limit applications so it wont take down the system.
     
  5. abdi

    abdi Platinum Pleskian

    31
    18%
    Joined:
    May 14, 2006
    Messages:
    2,913
    Likes Received:
    60
    I recommend an upgrade to Plesk 11.*
    They've improved the apache system resource usage, especially with Nginx as a reverse proxy.

    *Highly recommended
     
  6. Hostasaurus.Com

    Hostasaurus.Com Regular Pleskian

    30
    68%
    Joined:
    Oct 8, 2009
    Messages:
    465
    Likes Received:
    8
    If Plesk 11 is like every other upgrade they've released since 9 came out, I can't wait to try and go through that nightmare.
     
  7. abdi

    abdi Platinum Pleskian

    31
    18%
    Joined:
    May 14, 2006
    Messages:
    2,913
    Likes Received:
    60
    Upgrading to Plesk 11 is pretty easy. If you have shell then you just run the autoinstaller

    Code:
    /usr/local/psa/admin/sbin/autoinstaller
    Otherwise, we are here to help incase you hit port holes :) Also be ready to get a new licence key and your DC should be easily accessible with these keys that is if you bought it from them ...
     
Loading...