diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2018-12-11 21:14:23 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2018-12-12 13:46:44 +0100 |
commit | 68d56db92b95f570a8e7236dbff3fc7fd0fcd2c3 (patch) | |
tree | 60256d878b2cef72f115f063adfffabf7ff22c46 | |
parent | 8e94552594aae657358978988de9909ee4287a43 (diff) |
IMAP: raise per user maximum number of inotify instances from 128 to 512.
-rw-r--r-- | roles/IMAP/tasks/imap.yml | 6 |
1 files changed, 6 insertions, 0 deletions
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 }} |