question on setting ulimit on debian

Sophie Loewenthal sophie at klunky.co.uk
Thu May 24 21:09:11 EEST 2018


Ahh, I missed the [Service] out.

Aki,  Thank-you very much.

Best, Sophie
Sent from a phone, thus brief.

On May 24, 2018 7:49:50 PM CEST, Aki Tuomi <aki.tuomi at dovecot.fi> wrote:
>
>> On 24 May 2018 at 20:43 Sophie Loewenthal <sophie at klunky.co.uk>
>wrote:
>> 
>> 
>> 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.
>
>
>cat<<EOF > /etc/systemd/system/dovecot.service.d/service.conf
>[Service]
>LimitNOFILE=8192
>EOF
>systemctl daemon-reload
>systemctl restart dovecot
>
>Aki


More information about the dovecot mailing list