Quite often you will see a process using 99% of CPU, even though the CPU limit is set to 25%.

This is due to the fact that top shows CPU usage based on a single CPU, while LVE allocates usage across all CPUs on the system.
 
So, on a quad-core server, 25% of CPU resources is 1 CPU And if top shows 99% usage - it is also just 1 CPU.
 
If you have a dual-core server and set the limit at 25%, you will not see a process using more than 50% CPU when you view it via top.
 
And on single core server, the limits will match.
 
 * LVE CPU limits are not exact, they can error within about 3% in either direction.
 
آیا این پاسخ به شما کمک کرد؟ 0 کاربر این را مفید یافتند (0 نظرات)