Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    62
    Likes Received:
    0
    Trophy Points:
    156
    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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,409
    Likes Received:
    1,954
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice