Error when setting cpulimit to 0 on web interface

grobs

Member
Apr 1, 2016
42
0
6
32
France
Hi,

I'm running Proxmox 4 and would like to set cpu limit to 0 for all my guests in order to let guests use all physical CPU cores.

But, when I go to the web interface, select a VM, go to Ressources > CPU Limit, set CPU Limit to 0 and then apply, I obtain this error message:

Code:
closing file '/sys/fs/cgroup/cpu/lxc/102/cpu.cfs_quota_us' failed - Argument invalide (500)
OK
Sounds like a bug, is'nt it? What could I do to set cpulimit to 0? I'm wondering if setting it by pct command line will work because the man says "-cpulimit number (0 - 128) (default=0)"...

Regards
 

fabian

Proxmox Staff Member
Staff member
Jan 7, 2016
3,399
528
113
yep, that's a bug. the correct value to set in this case (internally) is -1 . I'll send a bugfix tomorrow. it's only broken for running containers though, so if possible, you can shut them down, set it to 0, and then start them again.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!