From a68b30bc79e246fb1758db0068dcbc9351ac8bfe Mon Sep 17 00:00:00 2001 From: milan Date: Fri, 3 May 2019 14:44:58 +0200 Subject: [PATCH] Limit number of processes --- setup-usl-mm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup-usl-mm b/setup-usl-mm index 4f86cab..a209bac 100755 --- a/setup-usl-mm +++ b/setup-usl-mm @@ -173,6 +173,9 @@ echo "hardstatus string \"%{=b kw} %?%-Lw%?%{=br kw}[%n %t]%{=b kw}%?%+Lw%? %= % echo "Install utilities" apt install -y mc htop screen zfsnap smartmontools +echo "Set max processes to 1500 in default profile in LXD" +lxc profile set default limits.processes 1500 + read -p "Done, press any key to return to main menu" main_menu }