what is the meaning of Apache busy workers and idle workers? how the statistic of them help me to figure out performance problem with my server?
What does apache (busy workers , idle workers) means
apache-2.2threadsworker-process
Related Topic
- Linux Web Server – Proper Permissions for Website Files and Folders
- apache – Selecting the Right MPM
- Can someone explain to me the apache log “[info] server seems busy”
- Debian – High Apache busy workers and high load average
- Why does Apache say there are 49 idle workers when there should be only 10
- Apache: “Server seems busy”, but lots of idle processes
Best Answer
If you have only very few or none idle workers it means Apache is using all the processes it is allowed to use and new incoming requests have to wait for older requests to finish before they can be handled. In this case, increasing the maximum allowed processes in your configuration file might help with performance under certain circumstances.
This is true if your system has reserves to handle additional apache processes. Each of them will need memory, CPU time and disk I/O.
If you don't have these reserves, increasing the
MaxClients
might be even contraproductive, as more processes will have to "fight" for the resources and it might be that reducing the number of maximum clients will improve performance if you already hit some bottleneck.