Hello all,
I am struggling with a peculiar issue where I might not understand all the mechanisms: I have a Proxmox server (5.4-5) with only containers. In some of my container, I have sky high idle time in my /proc/stat (up to 15281440583165230629). However, it does not concern all my containers. Here is an extract of the /proc/stat of all my host and all its containers (idle time is the fourth number):
Restart a container does not reset completely this counter (it only halves it).
While I understand cpu counter line in bare metal computer, is there a mechanism in lxc or another Proxmox component which fake, obfuscate or modify the idle counter?
Normally, I would not care about idle, but my containers run a cassandra, which throw me an NumberFormatException because it tries to parse it into a long. Since this value is too big, it crashes upon boot. It is kind of a bug on cassandra side, but this idle value also strange.
Thank you in advance for all the leads you may have, I am falling short of ideas
EDIT: after some additional research, /proc in proxmox lxc is taken care by lxcfs. I continue my research in this direction. I will keep you informed.
I am struggling with a peculiar issue where I might not understand all the mechanisms: I have a Proxmox server (5.4-5) with only containers. In some of my container, I have sky high idle time in my /proc/stat (up to 15281440583165230629). However, it does not concern all my containers. Here is an extract of the /proc/stat of all my host and all its containers (idle time is the fourth number):
Code:
PROXMOX: cpu 249831240 739348 112704491 41524746240 36109750 0 10716115 0 0 0
Lxc 101:cpu 1087462 0 0 7237883161620866592 0 0 0 0 0 0
Lxc 202:cpu 6710018 0 0 10498331248841811323 0 0 0 0 0 0
Lxc 203:cpu 2823807 0 0 2618472444 0 0 0 0 0 0
Lxc 205:cpu 13133112 0 0 5230079033 0 0 0 0 0 0
Lxc 206:cpu 114943641 0 0 3760916293231833407 0 0 0 0 0 0
Lxc 214:cpu 5601276 0 0 5236861199 0 0 0 0 0 0
Lxc 215:cpu 3188382 0 0 753066715665654677 0 0 0 0 0 0
Lxc 216:cpu 7641882 0 0 5234613545 0 0 0 0 0 0
Lxc 218:cpu 7266864 0 0 9277556796665397440 0 0 0 0 0 0
Lxc 221:cpu 729038 0 0 5242362687 0 0 0 0 0 0
Lxc 222:cpu 7587024 0 0 15281440583165230629 0 0 0 0 0 0
Lxc 223:cpu 8118629 0 0 5234631398 0 0 0 0 0 0
Lxc 224:cpu 11540087 0 0 5229515948 0 0 0 0 0 0
Lxc 225:cpu 1513987 0 0 5240446385 0 0 0 0 0 0
Error: container '226' not running!
Lxc 229:cpu 4843023 0 0 5230115101 0 0 0 0 0 0
Lxc 326:cpu 44216243 0 0 5190742122 0 0 0 0 0 0
Restart a container does not reset completely this counter (it only halves it).
While I understand cpu counter line in bare metal computer, is there a mechanism in lxc or another Proxmox component which fake, obfuscate or modify the idle counter?
Normally, I would not care about idle, but my containers run a cassandra, which throw me an NumberFormatException because it tries to parse it into a long. Since this value is too big, it crashes upon boot. It is kind of a bug on cassandra side, but this idle value also strange.
Thank you in advance for all the leads you may have, I am falling short of ideas
EDIT: after some additional research, /proc in proxmox lxc is taken care by lxcfs. I continue my research in this direction. I will keep you informed.
Last edited: