Apache 2.4.6 - Event MPM configuration

aeroweb

Well-Known Member
Jun 4, 2004
74
2
158
As the title suggests, we are running Apache 2.4.6 with the Event MPM. However under Apache Configuration » Global Configuration in WHM there does not appear to be a way to modify MinSpareThreads, MaxSpareThreads, or ThreadsPerChild. Is there a way to modify these setting in WHM or do they need to me updated in the config file directly?

Also I see settings on the configuration page for MinSpareServers and MaxSpareServers which if I am not mistaken only applies if you are using the Prefork MPM? Should these be disabled or set to "0" if using the Event or Worker MPM?

Thanks!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello :)

It's currently not possible to modify these values via Web Host Manager. Instead, you will need to make custom modifications to the following files:
Code:
/var/cpanel/templates/apache2_4/main.local
/usr/local/apache/conf/includes/pre_virtualhost_global.conf
Documentation on this is available at:

Apache - Custom Templates

Thank you.