question on setting ulimit on debian

Sophie Loewenthal sophie at klunky.co.uk
Thu May 24 20:43:35 EEST 2018


Hi,

I’ve been trying to increase the number of open files for the dovecot user on Debian 9 and have so far, failed!  I’ve tried this:

# cat /etc/security/limits.d/limits_dovecot.conf 
dovecot        soft    nofile           2048
dovecot        hard    nofile           8192

# cat /etc/systemd/system/dovecot.service.d/service.conf
LimitNOFILE=8192

But to no avail:

# prlimit -p 27208|grep -i nofile
NOFILE     max number of open files                1024      4096 files


Lost me :( Any ideas?


Thanks,Sophie.


More information about the dovecot mailing list