[SOLVED] Bad htop memory display with LXC

BoringASK

Member
Aug 9, 2018
13
0
6
30
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 ...