From cfb9c2b5ed03baf40459a774654d59bf9bfe8c5a Mon Sep 17 00:00:00 2001 From: milan Date: Fri, 3 May 2019 14:44:06 +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 881360e..c41ff19 100755 --- a/setup-usl-mm +++ b/setup-usl-mm @@ -170,6 +170,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 }