Reduce CPU replacing prefork with event?
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?
-
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. 0 -
Hello, It depends on if you have any existing Apache/PHP modules enabled that rely on the Prefork MPM. For instance, you won't be able to use DSO/Mod_Ruid2 without the Prefork MPM. The following documents show you the differences and requirements: Multi-Processing Modules - MPMs - EasyApache 4 - cPanel Documentation PHP Handlers - EasyApache 4 - cPanel Documentation Thank you. 0
Please sign in to leave a comment.
Comments
3 comments