]> git.proxmox.com Git - pve-container.git/commitdiff
Revert "set memory.kmem.limit_in_bytes"
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 17 Dec 2015 11:26:25 +0000 (12:26 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 17 Dec 2015 11:26:25 +0000 (12:26 +0100)
This reverts commit d4eeba779e0e77c65b7324f6a48b8e6a7013a870.

ZFS memory is accounted, so users run out of memory this way!

src/PVE/LXC.pm

index 39fd28fc7905218ad0c9286ef2c396a19f062272..6023334ee562b49e3cddb68d23fcdd661e73547b 100644 (file)
@@ -1108,7 +1108,6 @@ sub update_lxc_config {
 
     my $lxcmem = int($memory*1024*1024);
     $raw .= "lxc.cgroup.memory.limit_in_bytes = $lxcmem\n";
-    $raw .= "lxc.cgroup.memory.kmem.limit_in_bytes = $lxcmem\n";
 
     my $lxcswap = int(($memory + $swap)*1024*1024);
     $raw .= "lxc.cgroup.memory.memsw.limit_in_bytes = $lxcswap\n";