From 68d56db92b95f570a8e7236dbff3fc7fd0fcd2c3 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Tue, 11 Dec 2018 21:14:23 +0100 Subject: IMAP: raise per user maximum number of inotify instances from 128 to 512. --- roles/IMAP/tasks/imap.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'roles/IMAP') diff --git a/roles/IMAP/tasks/imap.yml b/roles/IMAP/tasks/imap.yml index 29b449e..231c759 100644 --- a/roles/IMAP/tasks/imap.yml +++ b/roles/IMAP/tasks/imap.yml @@ -24,6 +24,12 @@ owner=root group=staff mode=0755 +# Required for IDLE as all imap processes have the same UID (vmail). +- name: Set per user maximum number of inotify instances to 512 + sysctl: name=fs.inotify.max_user_instances value=512 sysctl_set=yes + tags: + - sysctl + - name: Copy dovecot auth proxy systemd unit files copy: src=etc/systemd/system/{{ item }} dest=/etc/systemd/system/{{ item }} -- cgit v1.2.3