Apache restart on every request
Posted
by
Michael Gummelt
on Server Fault
See other posts from Server Fault
or by Michael Gummelt
Published on 2011-01-16T22:59:38Z
Indexed on
2011/01/16
23:54 UTC
Read the original article
Hit count: 165
In development, I'd like to have changes to my application propagate immediately. "MaxRequestsPerChild 1" restarts each process after a request, but if there are multiple server processes, changes still don't propagate until each process restarts.
I've tried several different directives to limit the number of server processes to 1:
StartServers 1
MinSpareThreads 1
MaxSpareThreads 1
ThreadLimit 1
ThreadsPerChild 1
MaxClients 1
MaxRequestsPerChild 1
Apache still starts with multiple (3) apache2 processes. I'm using the mpm_worker module
© Server Fault or respective owner