-
Notifications
You must be signed in to change notification settings - Fork 0
So you ran out of descriptors and inotify is getting you down...
Christopher M. Neill edited this page Feb 10, 2016
·
1 revision
We are tweaking so default system values on all hosts to skirt the following issue:
https://github.com/guard/listen/wiki/Increasing-the-amount-of-inotify-watchers
As discussed here: https://runnable.atlassian.net/browse/SAN-3510
The values are -
- limits.conf
root soft nofile 1048576
root hard nofile 1048576
* soft nofile 1048576
* hard nofile 1048576
root soft nproc 1048576
root hard nproc 1048576
* soft nproc 1048576
* hard nproc 1048576
- sysctl.conf
fs.file-max = 100000000
fs.inotify.max_user_watches = 524288
fs.inotify.max_queued_events = 65536
fs.inotify.max_user_instances = 8192
If you change the limits.conf, you will need to reboot. Changing kernel parameters in sysctl.conf can be applied with a sudo sysctl -p
.