For Apache 2:
Modify /usr/local/apache/conf/includes/pre_virtualhost_global.conf
and add these lines
<IfModule prefork.c>
ServerLimit 10000
StartServers 16
MinSpareServers 16
MaxSpareServers 64
MaxClients 10000
MaxRequestsPerChild 0
</IfModule>
and then restart Apache.
ofcourse you can modify it to whatever you want.
For Apache 1.3 just modify httpd.conf's MaxClients setting.
引用:
Originally Posted by ScrltOTara
I have updated my max clients in httpd.conf to 256, however, it keeps getting reset to 150. Can someone tell me the best way to change it so it "sticks"? I ran the distiller, but it still gets overwritten. Thanks.