The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Apache 2.4.6 - Event MPM configuration

Discussion in 'EasyApache' started by aeroweb, Sep 5, 2013.

  1. aeroweb

    aeroweb Well-Known Member

    Joined:
    Jun 4, 2004
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    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!
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,830
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page