Skip to main content

mod-event using old pre-fork directives

Comments

5 comments

  • quietFinn

    in WHM go to Service Configuration -> Apache Configuration -> Include Editor -> Pre Virtualhost Include -> All versions

    in there add (use your own values)


    <IfModule mpm_event_module>
            StartServers            3
            MinSpareThreads         25
            MaxSpareThreads         75
            ThreadLimit             64
            ThreadsPerChild         25
            MaxRequestWorkers       375
            ServerLimit             15
            MaxConnectionsPerChild  0
    </IfModule>

    .

     

    0
  • chris matthews

    Thanks for the suggestion @quietFinn , we tried the include editor first off but it gets ignored. It seems like parts of the old default cpanel apache prefork mpm are still active, probably hard coded somewhere.

    0
  • cPRex Jurassic Moderator

    It's not clear to me exactly what the issue is or what you're trying to change.  Are you trying to adjust some of those values but they are being ignored?

    0
  • chris matthews

    Example, MinSpareServers and MaxSpareServers are listed in global config but as we understand it, they don't exist in the event mpm so why are they listed?

    But it doesn't matter now as we have created our own template which is working great. You can close this post, thank you.

    0
  • cPRex Jurassic Moderator

    And that's your answer right there - I believe it's just because it's part of the main template, so they appear whether they are read or not.

    0

Please sign in to leave a comment.