Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Best Apache config for 32GB RAM and 4 CPUs at 2.4GHz, RHEL 6

Current Config:

Prefork:

StartServers 8

MinSpareServers 5

MaxSpareServers 20

ServerLimit 300

MaxClients 150

MaxRequestsPerChild 4500

Worker:

StartServers 4

MaxClients 200

MinSpareThreads 25

MaxSpareThreads 75

ThreadsPerChild 25

MaxRequestsPerChild 0

Any advice will be much appreciated.

Thanks!

share|improve this question
    
Also can I use both prefork and worker or I've to use just one? How do I know which one is in use. Thanks in advance. –  Simon Hanks Nov 6 '13 at 17:04
    
The configuration depends a lot on what you're doing. Generally, you should leave the defaults alone unless you have a specific reason to change them. As to the MPM choice, see here. –  Shane Madden Nov 6 '13 at 20:32

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.