Skip to content

Commit

Permalink
Increase values for inotify
Browse files Browse the repository at this point in the history
Resolves failed to create fsnotify watcher: too many open files

Closes jupyterhub/mybinder.org-deploy#2727
  • Loading branch information
rgaiacs committed Aug 21, 2023
1 parent 9a364ee commit d9db551
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ansible/plays/k8s-prepare-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@
name: net.ipv4.ip_forward
value: '1'
state: present
- ansible.posix.sysctl:
name: fs.inotify.max_user_instances
value: '1280'
state: present
- ansible.posix.sysctl:
name: fs.inotify.max_user_watches
value: '655360'
state: present
- name: Create /orc2_data/containerd directory if it does not exist
ansible.builtin.file:
path: /orc2_data/containerd
Expand Down

0 comments on commit d9db551

Please sign in to comment.