sar output shows 100% user cpu

robm

Member
Jan 9, 2020
19
1
8
51
We have an unprivileged LXC centOS 7 container set up on the latest Proxmox. After installing sysstat, sar output shows user cpu at 100%, with cpu being 0% idle, even though there is little to no load on the container or the node.

Anyone ever run into this before? Any workaround to get accurate sar data?

Thanks!

Rob
 
Following up on this, "top" shows normal loads as expected. "htop" shows idle processes pegging the CPU, so it seems to be behaving erratically like the sar output. Graphs in the web gui all look correct.

Hopefully there is a way to adjust sar to work in an LXC container using a stock centOS 7 image.
 
A reboot of the container and sar has returned to normal. Very odd, but all seems fine in our CTs now.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, 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 yours easily in our online shop.

Buy now!