The Doctor
2014-03-17 15:11:55 UTC
All right I have been working in prefork mode with 150 clients no
problem just taxes the server to no end.
I tried to go to prefork and it chokes after 5 minutes.
In my mpm config file I have
#
# Only one of the below sections will be relevant on your
# installed httpd. Use "apachectl -l" to find out the
# active mpm.
#
# prefork MPM
# StartServers: number of server processes to start
# MinSpareServers: minimum number of server processes which are kept spare
# MaxSpareServers: maximum number of server processes which are kept spare
# MaxClients: maximum number of server processes allowed to start
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_prefork_module>
StartServers 1
MinSpareServers 1
MaxSpareServers 5
ServerLimit 150
MaxClients 150
MaxRequestsPerChild 5000
</IfModule>
# worker MPM
# StartServers: initial number of server processes to start
# MaxClients: maximum number of simultaneous client connections
# MinSpareThreads: minimum number of worker threads which are kept spare
# MaxSpareThreads: maximum number of worker threads which are kept spare
# ThreadsPerChild: constant number of worker threads in each server process
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_worker_module>
StartServers 4
MaxClients 256
MinSpareThreads 25
MaxSpareThreads 155
ThreadsPerChild 16
MaxRequestsPerChild 10
</IfModule>
What must I do so that the worker can match up to the prefork?
problem just taxes the server to no end.
I tried to go to prefork and it chokes after 5 minutes.
In my mpm config file I have
#
# Only one of the below sections will be relevant on your
# installed httpd. Use "apachectl -l" to find out the
# active mpm.
#
# prefork MPM
# StartServers: number of server processes to start
# MinSpareServers: minimum number of server processes which are kept spare
# MaxSpareServers: maximum number of server processes which are kept spare
# MaxClients: maximum number of server processes allowed to start
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_prefork_module>
StartServers 1
MinSpareServers 1
MaxSpareServers 5
ServerLimit 150
MaxClients 150
MaxRequestsPerChild 5000
</IfModule>
# worker MPM
# StartServers: initial number of server processes to start
# MaxClients: maximum number of simultaneous client connections
# MinSpareThreads: minimum number of worker threads which are kept spare
# MaxSpareThreads: maximum number of worker threads which are kept spare
# ThreadsPerChild: constant number of worker threads in each server process
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_worker_module>
StartServers 4
MaxClients 256
MinSpareThreads 25
MaxSpareThreads 155
ThreadsPerChild 16
MaxRequestsPerChild 10
</IfModule>
What must I do so that the worker can match up to the prefork?
--
Member - Liberal International This is ***@nl2k.ab.ca Ici ***@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising!
http://www.fullyfollow.me/rootnl2k Look at Psalms 14 and 53 on Atheism
C'est temps pour le Quebec de dire non a la Parti Qorruption!
Member - Liberal International This is ***@nl2k.ab.ca Ici ***@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising!
http://www.fullyfollow.me/rootnl2k Look at Psalms 14 and 53 on Atheism
C'est temps pour le Quebec de dire non a la Parti Qorruption!