Reduce CPU replacing prefork with event?

RicardoFC

Member
Oct 21, 2017
20
0
1
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?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,237
463
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.
 

RicardoFC

Member
Oct 21, 2017
20
0
1
Spain
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.
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,237
463