[SOLVED] Negative used memory

ohmer

New Member
Mar 2, 2010
27
1
3
Hello,

I installed a ubuntu 16.04 container in a fresly installed Proxmox VE 4.2. When I try to get memory stat inside my container with the "free" command, it reports a negative used memory:

Code:
# free
              total        used        free      shared  buff/cache   available
Mem:        2097152      -53128     1998524       66648      151756     1998524
Swap:        524288           0      524288

Found that issue, don't know if this is related: https://github.com/lxc/lxcfs/issues/84
 
Proxmox does not use LXC 2 (not even beta) yet, so this is most probably the same problem. There is no fix yet, so please be patient.
 
Hello,

The bug report I linked is against lxcfs pacakge, not lxc. Seem like the current version used by proxmox is 2.0.0.beta1. Is there a way to upgrade to a newer version?

Also, I have this problem only with a ubuntu 16.04 template. The problem doesn't occurs with a ubuntu 12.04 template.
 
Oh, I did an apt upgrade of my test box and this updated lxcfs to 2.0.2. A reboot later, the issue disappeared.
 

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!