Fix too many open files error with more containers.

This commit is contained in:
Andreas B. Mundt 2021-11-16 23:12:45 +01:00 committed by Andreas B. Mundt
parent 90d340a1d5
commit ae0c26b117

View file

@ -151,6 +151,16 @@
notify: enable and restart containers
########
- name: prepare sysctl configuration
file:
path: /etc/sysctl.d/inotify.conf
state: touch
- name: fix too many open files error
sysctl:
name: fs.inotify.max_user_instances
value: '1024'
sysctl_file: /etc/sysctl.d/inotify.conf
- name: generate links to the initial container
file: