Making Apache run lighter on slicehost
I run more than 10 sites on a 256mb slice on slicehost - all php, mostly wordpress sites. They are rarely visited sites with the most popular one getting about 300 hits a day.
By changing the mpm_prefork_module I was able to get my slice to run much lighter on memory.
# defaultStartServers 5 MinSpareServers 5 MaxSpareServers 10 MaxClients 150 MaxRequestsPerChild 0 # to this - thanks to http://forum.slicehost.com/comments.php?DiscussionID=2099#Item_2StartServers 3 MinSpareServers 3 MaxSpareServers 3 ServerLimit 50 MaxClients 50 MaxRequestsPerChild 1000
Here’s the difference in my memory:
Before:

After:

