Changing ServerLimit

Hi,

I have set ServerLimit and MaxClients in httpd.conf to be 1024 but apache status always show only 256 requests currently being processed. I found on google that the config should be put pre-virtual global section, but where is that on Virtualmin/Webmin?

StartServers 8 MinSpareServers 5 MaxSpareServers 20 ServerLimit 1024 MaxClients 1024 MaxRequestsPerChild 4000

Thank you!

To edit Apache config stuff that is outside of virtual servers, you need to go to Webmin’s Apache module:

“Webmin / Servers / Apache Webserver”, then the tab “Global Configuration”, there click “Edit Config Files”. In the file that shows up there you should already find the directives you want to change, in the IfModule mpm_prefork_module block.

I did do that and it still didn’t work. So i ended up not using the prefork module and it looks like it’s faster.

Thank you for your help.