Difference between revisions of "Performance Tuning Apache"
Jump to navigation
Jump to search
↑ https://serverfault.com/questions/353828/finding-average-size-of-single-apache-process-for-setting-maxclients
Michael.mast (talk | contribs) (Created page with "I do not know what I am doing with this, these are just notes I pulled elsewhere. ==Workers and Children== <ref>https://serverfault.com/questions/353828/finding-average-size-...") |
(No difference)
|
Latest revision as of 11:53, 30 March 2019
I do not know what I am doing with this, these are just notes I pulled elsewhere.
Workers and Children
[1]The following is the first step in knowing how many max request workers should be used.
ps -ylC httpd --sort:rss | awk '{sum+=$8; ++n} END {print "Tot="sum"("n")";print "Avg="sum"/"n"="sum/n/1024"MB"}'
If I understand things correctly (which I probably don't), I should be able to increase the number of workers from default 30 to 60.
- Average per process : ~150M (I round up to 200M)
- Total RAM : 15667M - 512M (for server overhead) = 15155M
- 15155M / 200M = ~79