why apache create child process one more than
startservers config parameter?
* http-mpm.conf (worker)
StartServers 5
* Real Process count(ps -ef httpd)
Parrent 1
Child 6 (one more than 'StartServers 5')
In comp.infosystems.www.servers.unix, Jeff <space...@gmail.com> wrote:
why apache create child process one more than
startservers config parameter?
* http-mpm.conf (worker)
StartServers 5
* Real Process count(ps -ef httpd)StartServers is not a maximum, it's a hint for expected load at startup.
Parrent 1
Child 6 (one more than 'StartServers 5')
MinSpareServers and MaxSpareServers influence the number of processes by controlling how many idle children to have.
MaxRequestWorkers (aka MaxClients) is the hard cap on the number of processes.
https://httpd.apache.org/docs/2.4/mod/mpm_common.html https://httpd.apache.org/docs/2.4/mod/prefork.html
Elijah
------
four spare is a good config on a tiny vm
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 08:43:26 |
Calls: | 6,666 |
Files: | 12,213 |
Messages: | 5,336,260 |