]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
dovecot.service: Update LimitNOFILE=65535
authorHannu Ylitalo <hannu.ylitalo@dovecot.fi>
Tue, 29 May 2018 07:29:50 +0000 (10:29 +0300)
committerAki Tuomi <aki.tuomi@open-xchange.com>
Wed, 30 May 2018 07:47:31 +0000 (07:47 +0000)
Current value of 8192 is too low for most production setups and it needs
to be changed every time something is deployed. Setting the default to
65535 is enough for most production environments so this would be one
task less when deploying a production platform.

dovecot.service.in

index ac33cd71a513498be68da8d47836c520bccc0b27..5c45f590bf7d243aa3e0ac0f40bdeec8b3021a8a 100644 (file)
@@ -28,7 +28,7 @@ PrivateDevices=true
 # You can add environment variables with e.g.:
 #Environment='CORE_OUTOFMEM=1'
 # If you have trouble with `Too many open files', increase
-LimitNOFILE=8192
+LimitNOFILE=65535
 # If you want to allow the Dovecot services to produce core dumps, use:
 #LimitCORE=infinity