how to disable memory cgroups

falves1

Well-Known Member
Jan 11, 2009
99
3
48
I disabled memory groups in the Kernel command line, because I care less about how much memory my containers use, I want them to use all the available memory. But the the containers do not start since memory cgroups is disabled.

I need to remove these 2 lines
lxc.cgroup.memory.limit_in_bytes = 88080384000
lxc.cgroup.memory.memsw.limit_in_bytes = 88617254912

maybe there is a template that I ca change so these two lines may never be used again.
 
This is currently not handled as the lines are added unconditionally to the config file. I posted a patch to deal with this to the devel list for review.
 

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!