jehan procaccia a écrit :
hello, I have this problem when runing vzcpucheck:

# vzcpucheck -v
VEID            CPUUNITS
-------------------------
0               1000
200             1000
201             1000
202             250000
203             250000
204             1000
205             1000
300             62500
ERROR: VE0 CPU units not set, or set too high!
Probably you have not started /etc/init.d/vz

however VE0 vz.conf set it to ("only !") 1000
where is the problem ?

Thanks.

PS:

# cat /proc/cpuinfo |grep bogo
bogomips        : 6317.51
bogomips        : 6317.53
bogomips        : 6317.51
bogomips        : 6317.53
bogomips        : 6317.52
bogomips        : 6317.53
bogomips        : 6317.50
bogomips        : 6317.53


I reduced one of my VE from 350000 cpulimit to 250000 and it resolved the error.
However I wonder why cpulimit is apparently limited to 250000 ?

# vzctl set 21230 --cpuunits 260000 --cpulimit 20 --save
Setting CPU limit: 20
Setting CPU units: 260000
Saved parameters for CT 21230
[r...@epidaure conf]# vzcpucheck -v
VEID            CPUUNITS
-------------------------
0               1000
200             1000
201             1000
202             250000
204             1000
205             1000
300             62500
21233           6024
203             250000
ERROR: VE0 CPU units not set, or set too high!
Probably you have not started /etc/init.d/vz

back to 250000, it works:

# vzctl set 21230 --cpuunits 250000 --cpulimit 20 --save
Setting CPU limit: 20
Setting CPU units: 250000
Saved parameters for CT 21230
[r...@epidaure conf]# vzcpucheck -v
VEID            CPUUNITS
-------------------------
0               1000
200             1000
201             1000
202             250000
204             1000
205             1000
300             62500
21233           6024
203             250000
21230           250000
Current CPU utilization: 823524
Power of the node: 1263400

However, here I read that 1263400 - 823524 = > 400000 units available ! no ?
Thanks .

_______________________________________________
Users mailing list
[email protected]
https://openvz.org/mailman/listinfo/users

Reply via email to