Linode 512 - MPM Prefork - WordPress hosting optimization
Killed process 16660 (apache2) total-vm:186232kB, anon-rss:87404kB, file-rss:0kB
I have 512 MB of ram and whenever I get a spike of 500+ users trying to access the site, the site becomes unresponsive and I start getting the errors above.
Please let me know of any optimizations that I can make to help improve site performance.
Thanks in advance
11 Replies
-Chris
Any other optimation settings I should know of?
MinSpareServers 5
MaxSpareServers 20
ServerLimit 75
MaxClients 75
MaxRequestsPerChild 1000
MinSpareServers 5
MaxSpareServers 10
ServerLimit 75
MaxClients 75
MaxRequestsPerChild 1000
if your system used swap more then 300MB always, change MaxRequestsPerChild to 500.
Start by changing MaxClients to 10 or 20, disable KeepAlives, and move on from there.
-Chris
Remove w3-cache and just use the nginx helper following
You may find it will considerably increase your concurrent users as it will skip php completely and serve a static html file bypassing php-fpm, except for logged in users and posting comments.