Skip to content

Commit

Permalink
patch: Increase inotify watches sysctls
Browse files Browse the repository at this point in the history
Increases inotify watches in sysctl to prevent "too many open files" error occuring
  • Loading branch information
yankcrime authored and drew-viles committed Mar 22, 2023
1 parent eacb6bf commit 6d6a7ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions images/capi/ansible/roles/node/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@
- { param: vm.overcommit_memory, val: 1 }
- { param: kernel.panic, val: 10 }
- { param: kernel.panic_on_oops, val: 1 }
- { param: fs.inotify.max_user_instances, val: 8192 }
- { param: fs.inotify.max_user_watches, val: 524288 }

- name: Disable swap memory
shell: |
Expand Down

0 comments on commit 6d6a7ea

Please sign in to comment.