OpenVZ Forum


Home » General » Support » i have some problem . need some help (i have problem vzcpucheck)
Re: i have some problem . need some help [message #39074 is a reply to message #39053] Fri, 12 March 2010 14:46 Go to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hello,

the situation that you have described and output that you have provided confuse me a lot.
The problem is in the following:

Quote:

cat /proc/fairsched
...
0 2147483647 0 1 0 274 4 1 .. 1 85452778666179 0 0
...


Normally "weight" can't equal to 1. That means either VE0CPUUNITS are hight or vz service is not started. But according to your output neither VE0CPUUNITS are high nor vz-service is not started.
I examined vzctl source code and found that weight is calculated according to formula
int cpuweigh;

cpuweight = MAXCPUUNITS / cpuunits;

where
#define MAXCPUUNITS 500000

In your case cpuweight must equal to (int)(500000/75000) which is not equal to 1.
So I'm at a loss at the moment.

Please make sure that VE0CPUUNITS are set correctly (the value is not equal to 750000). Then restart vz service:

# /etc/init.t/vz restart
 
Read Message
Read Message
Previous Topic: iptables on HN / DNS not resolving inside VEs
Next Topic: Issue with UCB limits
Goto Forum:
  


Current Time: Fri Sep 19 15:57:33 GMT 2025

Total time taken to generate the page: 0.05809 seconds