29 Mar
2017
29 Mar
'17
2:40 p.m.
On 2017-03-29 13:33:52 +0200, Piper Andreas wrote:
It does indeed run from systemd, so this is what's currently in the dovecot unit file ( /etc/systemd/system/dovecot.service ):
...
[Service] Type=simple ExecStart=/usr/sbin/dovecot -F NonBlocking=yes TasksMax=10000 LIMIT_NOFILE=10000
...
the parameter should be named
LimitNOFile=10000
(without the underscore), see http://man7.org/linux/man-pages/man7/systemd.directives.7.html and http://man7.org/linux/man-pages/man5/systemd.exec.5.html
Also you dont have to replace the whole service file to achieve this:
https://discourse.nordisch.org/t/per-service-ulimits/374
darix
-- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org