]> granicus.if.org Git - ejabberd/commitdiff
Increase file descriptor limit in systemd unit
authorHolger Weiss <holger@zedat.fu-berlin.de>
Wed, 19 Oct 2016 22:12:02 +0000 (00:12 +0200)
committerHolger Weiss <holger@zedat.fu-berlin.de>
Wed, 19 Oct 2016 22:12:02 +0000 (00:12 +0200)
16,000 file descriptors will only suffice for small setups.

ejabberd.service.template

index 80f0238893d0e600e8b36985cff8f13d822dbfa4..560a93265263f15eeeb50fd6b50a2db97a1d0a70 100644 (file)
@@ -6,7 +6,7 @@ After=network.target
 Type=forking
 User=ejabberd
 Group=ejabberd
-LimitNOFILE=16000
+LimitNOFILE=65536
 Restart=on-failure
 RestartSec=5
 ExecStart=@ctlscriptpath@/ejabberdctl start