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!

Reduce CPU replacing prefork with event?

Discussion in 'EasyApache' started by RicardoFC, Nov 7, 2017.

  1. RicardoFC

    RicardoFC Member

    Joined:
    Oct 21, 2017
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Hi,

    My server is consuming more CPU than it should, I have optimized it but yet, it is consuming a lot, even more on its peak hours (obviously).

    I have a lot of sites but all of them are medium but of course, if we add all visitors let's say it has a lot of visitors. Would moving to Event from Prefork help CPU or not?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,690
    Likes Received:
    1,789
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    It's difficult to know for sure if moving to the Prefork MPM will help. You may want to try temporarily enabling it and monitoring the server over a period of a few days to see if you notice a change in performance. You can review information about each MPM option at:

    Multi-Processing Modules - MPMs - EasyApache 4 - cPanel Documentation

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

    RicardoFC Member

    Joined:
    Oct 21, 2017
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Hi, it's quite the opposite, replacing prefork for Event, also, can sites broke when replacing it? I know if you do it without control panel (hosting sites manually, without cPanel) it can, but does cPanel have a system to provent that?

    Thanks.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,690
    Likes Received:
    1,789
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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