Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am consistently running out of inotify resources, leading to errors along the lines of:

# tail -f /some/files
tail: inotify resources exhausted
tail: inotify cannot be used, reverting to polling

This eventually happens even if I grow the value of fs.inotify.max_user_watches. I suspect a locally installed Java application is consuming the resources, but I don't have the option of either fixing it or removing it.

Is there a way to set a limit on the number of inotify watches that can be consumed by a process?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.