The suggested MPM prefork configuration on slicehost.com articles for VPS with 1GB RAM is:
<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 150
MaxRequestsPerChild 0
</IfModule>
I know it depends on many factors (which ones exactly ?) but I would like to know how these settings should be for 256M and 512M RAM. Please, provide me configuration examples (as in the table above).
I'm mainly using the VPS for Drupal-based website for local business.
thanks
What how many processes exist during normal and peak loads for your site. The ammount of memory really isn't that important for the StartServers, MinSpareServers, MaxSpareServers values. The number of users accessing your site, and when matters more. Is your traffic bursty, or do you have a consistent number of people always online.
Memory only really matters as it relates to the MaxClients. Since if you specify a value too high at some point when new processes are created your system is going to start using swap memory. Exactly when that happenes depends heavily based on what you are serving. If you are serving PHP with an app that uses a lot of memory this could mean that you can only have a couple dozen clients before things start to go bad. If you are serving static files you should be able to support many more concurrent users.