I'm trying to get my dev server (xampp) to spawn just one process to get all the requests. I added the following configuration:
- Code: Select all
<IfModule prefork.c>
StartServers 1
MinSpareServers 1
MaxSpareServers 1
MaxClients 1
MaxRequestsPerChild 1000
</IfModule>
<IfModule worker.c>
StartServers 1
MaxClients 1
MinSpareThreads 1
MaxSpareThreads 1
ThreadsPerChild 1
MaxRequestsPerChild 0
</IfModule>
<IfModule mpm_winnt.c>
ThreadsPerChild 1
MaxRequestsPerChild 0
</IfModule>
At the end of my httpd.conf file, but every time I run
- Code: Select all
ps -e | grep httpd