pre_main_global.conf not working?
I just installed mpm_worker and added this to pre_main_global.conf:
to test to see if this actually work I change the variable and restart Apache.
to my surprise my site still response as normal, I tested this on multiple browser and deleted all cache. Is my use of pre_main_global.conf correct? what should I change? thanks in advance.
ServerLimit 40
StartServers 2
MaxClients 1000
MinSpareThreads 20
MaxSpareThreads 50
ThreadsPerChild 25
MaxRequestsPerChild 0
to test to see if this actually work I change the variable and restart Apache.
ServerLimit 1
StartServers 1
MaxClients 1
MinSpareThreads 1
MaxSpareThreads 1
ThreadsPerChild 1
MaxRequestsPerChild 1
to my surprise my site still response as normal, I tested this on multiple browser and deleted all cache. Is my use of pre_main_global.conf correct? what should I change? thanks in advance.
-
You can easily test to see if this is working by looking at httpd.conf. These templates are used to generate a working Apache configuration, so they will not be actually applied unless you: 1) Rebuild the conf (/scripts/rebuildhttpdconf) 2) Restart Apache It's possible you didn't do #1. So try that, then check your httpd.conf file to make sure the correct settings are in place before testing again. 0 -
I did both step 1 & 2 and this don't really have anything to do with httpd.conf as it concern pre_main_global.conf and the settings in it. Was it right for me to put those setting in pre_main_global.conf? 0 -
Yes, it's acceptable to add those values to the "/usr/local/apache/conf/includes/pre_main_global.conf" file. [QUOTE]to my surprise my site still response as normal
Could you elaborate more on what change you are expecting to see? Is there a specific increase in page load or speed that you are expecting? Thanks.0
Please sign in to leave a comment.
Comments
3 comments