Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

large incron.d files: cannot create watch for system table ... (28) No space left on device #37

Closed
itoffshore opened this issue May 3, 2017 · 1 comment

Comments

@itoffshore
Copy link

I use incrond to monitor some website folders & the incron.d files have 2000-3500 directories monitored for each domain. All of them start with no error messages except the largest which prints to syslog almost 200 times:

cannot create watch for system table xxxxxxxx: (28) No space left on device

from the number of errors in syslog & the number of directories monitored the error messages seem to be for lines above 3175.

I normally mount /tmp as a tmpfs & tried running incrond with just a normal /tmp but it makes no difference. The root filesystem is btrfs without a separate /var.

Is this a hard limit of 3175 for monitoring that I can patch in the sources ?

@itoffshore
Copy link
Author

This issue is solved by increasing the number of allowed watches:

cat /proc/sys/fs/inotify/max_user_watches

sysctl -w fs.inotify.max_user_watches=xxxxx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant