Fix too many open files error with more containers.
This commit is contained in:
parent
90d340a1d5
commit
ae0c26b117
1 changed files with 10 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue