Hi!
I'm having problem with resource limiting on Proxmox
All CPUs of Proxmox host are available inside LXC-container, despite limit is set.
Proxmox host is running on Debian Jessie.
I have another host with 4.4.59-1-pve kernel and there is no such problem.
Is there a way to fix this without updating whole host? Maybe LXC part only?
I'm having problem with resource limiting on Proxmox
All CPUs of Proxmox host are available inside LXC-container, despite limit is set.
Code:
pct config 100
arch: amd64
cpulimit: 1
cpuunits: 1024
hostname: test
memory: 1024
net0: name=eth0,bridge=vmbr0,hwaddr=BE:C9:EB:5E:0E:15,type=veth
ostype: debian
rootfs: local:100/vm-100-disk-1.raw,size=8G
swap: 512
pct enter 100
root@test:~# nproc
8
root@test:~# cat /proc/cpuinfo | grep cores | wc -l
8
Proxmox host is running on Debian Jessie.
Code:
pveversion
pve-manager/4.2-23/d94f9458 (running kernel: 4.4.19-1-pve)
Is there a way to fix this without updating whole host? Maybe LXC part only?