From 9047a97e8a05905827a22a264154aba61c2fbf75 Mon Sep 17 00:00:00 2001 From: Scott Bronson Date: Mon, 21 Dec 2015 15:02:35 -0800 Subject: [PATCH] set default_process_limit to a simple value --- setup/mail-dovecot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/mail-dovecot.sh b/setup/mail-dovecot.sh index 1cd0398b..a429ea22 100755 --- a/setup/mail-dovecot.sh +++ b/setup/mail-dovecot.sh @@ -38,7 +38,7 @@ apt_install \ # would be 20 users). Set it to 250 times the number of cores this # machine has, so on a two-core machine that's 500 processes/100 users). tools/editconf.py /etc/dovecot/conf.d/10-master.conf \ - default_process_limit=$(echo "`nproc` * 250" | bc) + default_process_limit=1024 # The inotify `max_user_instances` default is 128, which constrains # the total number of watched (IMAP IDLE push) folders by open connections.