2

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

2
  • 1
    Which MPM are you using, and what is your configuration for that MPM? Commented Aug 3, 2012 at 23:35
  • @Zoredache Prefork. Configs: {StartServers: 8, MinSpareServers: 5, MaxSpareServers: 20, ServerLimit: 256, MaxClients: 256, MaxRequestsPerChild: 4000} Commented Aug 4, 2012 at 22:20

1 Answer 1

2

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.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.