[SOLVED] Bad htop memory display with LXC

BoringASK

Member
Aug 9, 2018
13
0
6
28
Paris, France
Hello all,

I have a problem with my LXC platform, indeed the RAM displayed in htop is incorrect: obviously it seems to include memory and shared memory.

For example, a memory consumption of 4.75G/4G is displayed.

Proxmox Version : 5.2-1
Lxcfs : 3.0.0

Obviously it's a known bug but obviously not fixed.
 
This has been already fixed in upstream month ago in this commit dd43c518918cce7f347d78214052b229b4a72f3f however there was no release of lxcfs since then. Proxmox Team may consider manually applying this patch to current version.
 
Obviously I have the same problem. I do not understand how you solved it from this commit. What exactly did you do?
Should we clone the entire Git repo and recompile lxcfs entirely?

I'm using proxmox for production, I'm not comfortable with the idea of using tools that I will not find in official proxmox / debian updates
 
Obviously I have the same problem. I do not understand how you solved it from this commit. What exactly did you do?
Should we clone the entire Git repo and recompile lxcfs entirely?

I'm using proxmox for production, I'm not comfortable with the idea of using tools that I will not find in official proxmox / debian updates

Hi
In the last update the problem is solved ...
 

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!