Current Usage on cPanel vs LVE Manager

Serra

Well-Known Member
Oct 27, 2005
272
21
168
Florida
When I look in LVE Manager, I have an LVE set to CPU of 250%. I believe that it is actually getting 250% when it needs it, but there is an issue with the client cPanel.

In cPanel, under CPU and Concurrent Connection Usage, it shows a graph of CPU going to up 100%.


Usage Limit Fault
CPU Usage 1.7% 100% 0

So, that 100% is 100% of 250% allowable? Is the usage in percent of CPU or percent of allowed?
 

rpvw

Well-Known Member
Jul 18, 2013
1,101
470
113
UK
cPanel Access Level
Root Administrator

Serra

Well-Known Member
Oct 27, 2005
272
21
168
Florida
So what is the issue? The LVE is set to 250%, but shows 100%. Is this a display error or something else?
 

rpvw

Well-Known Member
Jul 18, 2013
1,101
470
113
UK
cPanel Access Level
Root Administrator
I think I see what you are getting at,

In WHM
I have a user set to 200% CPU (2 processor cores out of the 8 available)

In the users cPanel
The CPU Current usage statistics are showing 0.0% of 100%
The CPU Graph Usage graph only goes up to 100% on the y axis

I assume the 100% refers to the total amount of processing power that the user has available to him

eg 100% user CPU = 2/8 server CPU
(in your case 100% user CPU = 2.5/"however many cores you have" server CPU)

I don't know if this is a display error or deliberate - the user would probably not understand what 250% CPU refers to - they would first have to know how many cores the system had available, and the fact that 250% represented an allocation of 2 and 1/2 cores to their account - it is relatively easy to understand the 100% means everything they can have o_O
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,254
463
Hello,

This issue was recently brought up in a support ticket. Here's a summary from CloudLinux about how this works:

CPU limits, as they appear in cPanel for a user, are recalculated to appear as a percentage of 100. EX:

User's LVE CPU limit 200%, Current usage is 10%, - you will see 5/100 - (20)
User's LVE CPU limit 200% ( 2core), Current usage is 100%(1 core) - you will see 50/100 (50)
User's LVE CPU limit 50% (1/2core) Current usage is 50%, you will see 100/100

It's possible to add the "normalized_user_cpu =N" value in the /etc/sysconfig/cloudlinux file in order to see CPU Usage 0 / 200 ( 0% ) in the scenario where a user's LVE CPU limit is 200%.
Thank you.