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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Apache MPM Event Guidance

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

  1. sahostking

    sahostking Well-Known Member

    Joined:
    May 15, 2012
    Messages:
    328
    Likes Received:
    3
    Trophy Points:
    68
    Location:
    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.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    42,734
    Likes Received:
    1,706
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

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

    Thank you.
     
Loading...

Share This Page