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

I'm wondering why my server has so many free apache slots open. The server only has a couple of busy and idle slots. Please look at the attached images for the amount of process used by the server versus our traffic.

Questions

  • Should I change my configurations so that there's less free slots?
  • If I do reduce the amount of free slots will it reduce the amount of memory the server is using?

Stats

share|improve this question
1  
Which MPM are you using, and what is your configuration for that MPM? –  Zoredache Aug 3 '12 at 23:35
    
@Zoredache Prefork. Configs: {StartServers: 8, MinSpareServers: 5, MaxSpareServers: 20, ServerLimit: 256, MaxClients: 256, MaxRequestsPerChild: 4000} –  iDev247 Aug 4 '12 at 22:20
add comment

1 Answer 1

up vote 2 down vote accepted

You did not provide information on how idle slot/free slot and busy slot are computed on your graph. So I'll assume the following :

  • Busy slots are process/threads actually serving requests

  • Idle slots are process/threads created but not serving request

  • Free slots are process/threads that can be created before reaching max client.

Question 1 :

You should reduce max client only if you don't have enough RAM to handle all the HTTP requests you allow. For now, you can wait because "busy slot" never got above 100 so far.

Question 2 :

No. Apache uses more memory only when it spawns more process/thread.

share|improve this answer
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.