New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

CPU Usage Limited to 50% - CGroups Installed & Setup

Started by LiamTGCS, April 14, 2022, 05:01:28 AM

Previous topic - Next topic

LiamTGCS

Hi all,

When loading my site using Wordpress + WooCommerce, often I will see php-fpm using high resources - it'll often flog the CPU usage to 50%. Firstly, is this normal? I am using a caching plugin, which has helped now to reduce PHP load, though often I still see CPU usage stuck at 50% until the process is complete, sometimes taking up to 10-20 seconds before the processes finish.

For some reason, I can't seem to allow more CPU usage to help speed-up those processes. Is there a way I can allow my hosting account to use up to 80% CPU, rather than capping it at 50% CPU usage?

Since I'm the sole account under CWP, I can allocate more resources to the cPanel account.

Screenshot of CGroups: https://i.kutit.net/h/UPIBZF.png

The server is an 8 vCore server, so I presume by the CPU monitor capping out at 50%.

I have set the CPU percentage to 750% in CGroups for the account I want to allow 7+ cores, though the main CWPpro Performance monitor.

Am I setting something up incorrectly?