LXC wrong memory usage stat


Apr 5, 2019
Can you please tell me how to disable the mounting of container directories in shared memory?


  • e59bdfc332.png
    76.7 KB · Views: 29
Which distribution are you using? The way the memory information that get picked up by the tools varies, and not all are really container aware. The content of /proc/meminfo and what can be found in /sys/fs/cgroup/memory is the more relevant content for that. And the memory management of containers is different and sometimes hard to understand.

About disabling, that matters very much on your distribution. You might want to mask the corresponding mount units in systemd, thought I'm unsure if there might not be significant side issues to that, especially with respect to performance. Why do you want to write bigger files into your /run file structure in the first place?
  • Like
Reactions: oguz


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!