Apache restart on every request
- by Michael Gummelt
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