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 MPM Event Guidance

Discussion in 'Workarounds and Optimization' started by sahostking, Feb 6, 2018.

  1. sahostking

    sahostking Well-Known Member

    May 15, 2012
    Likes Received:
    Trophy Points:
    Cape Town, South Africa
    cPanel Access Level:
    Root Administrator
    Hi guys,
    We have cpanel servers using Litespeed and Apache MPM Event(with mod_lsapi). Now we noticing the Apache servers go down randomly for about minute or two before service auto restarts whereas litespeed servers havent gone down in over a year.

    Litespeed servers have over 1000 sites on them with far less memory on the servers (8GB to 14GB) whereas the Apache servers have 16GB to 20GB on them but with far less sites usually around 500 to 800 sites.

    I'm thinking before we decide to purchase a litespeed licence to maybe check our config of Apache MPM Event as that may be our bottleneck? or should we switch back to good ol stable mpm worker?

    Here is our current config settings in WHM Apache config for MPM event servers:
    Start Servers = 3
    Minimum Spare Servers = 3
    Maximum Spare Servers = 16
    Server Limit = 400
    Max Connections Per Child = 10000
    Keep-Alive Timeout = 2
    Max Keep-Alive Requests = 100
    Timeout = 300

    For a Shared Web Hosting site where we want to have 800 to 1000 sites per server is the above config ideal or at misconfigured.

    Most sites are wordpress sites.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    Do you notice any specific output to the Apache error log when the service goes down?

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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