• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

each httpd using 178MB of RES RAM!

tkalfaoglu

Silver Pleskian
Hi there.. I am not sure how to trim the httpd bloat -- the top processes, sorted by memory usage on my server are:

10633 apache 15 0 557m 173m 6472 S 0.3 4.4 0:09.48 httpd
16864 apache 15 0 545m 149m 4704 S 0.0 3.8 0:00.80 httpd
3151 root 15 0 286m 132m 1644 S 0.0 3.3 0:14.78 clamd
14102 apache 15 0 494m 110m 5336 S 0.0 2.8 0:02.20 httpd
16009 apache 16 0 488m 109m 5260 S 10.6 2.8 0:02.26 httpd
16817 apache 15 0 494m 108m 4572 S 0.0 2.7 0:00.77 httpd
16036 apache 15 0 474m 94m 4920 S 0.0 2.4 0:00.88 httpd
16513 apache 15 0 470m 92m 4852 S 0.0 2.3 0:00.81 httpd
7833 tomcat 20 0 1459m 77m 10m S 0.0 2.0 0:04.28 java
4037 mysql 16 0 414m 75m 5492 S 0.0 1.9 0:38.74 mysqld
10359 root 18 0 392m 74m 9136 S 0.3 1.9 0:00.85 httpd
16006 apache 15 0 398m 74m 4260 S 0.0 1.9 0:00.10 httpd
16769 apache 15 0 393m 70m 3632 S 0.0 1.8 0:00.01 httpd
16814 apache 15 0 393m 70m 3516 S 0.0 1.8 0:00.02 httpd
6586 popuser 18 0 169m 70m 3048 R 8.7 1.8 0:22.22 spamd
16511 apache 16 0 393m 70m 3632 S 1.0 1.8 0:00.04 httpd
6590 popuser 16 0 169m 69m 3040 S 5.8 1.8 0:20.23 spamd
6589 popuser 17 0 168m 69m 3084 S 8.7 1.8 0:21.10 spamd

Any ideas where to begin trimming the fat??
Thanks, -turgut
 
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.
 
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.
 
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

I recommend an upgrade to Plesk 11.*
They've improved the apache system resource usage, especially with Nginx as a reverse proxy.

*Highly recommended
 
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.
 
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 ...
 
Back
Top