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

File Integrity Plugin - Exhausts inotify resources despite excludes. #94

Open
dcflachs opened this issue Sep 10, 2024 · 1 comment
Open

Comments

@dcflachs
Copy link

dcflachs commented Sep 10, 2024

Despite heavy usage of the "Exclude folders and files" options the file integrity plugin continually exhausts inotify resources (even when max watches are set unreasonably high). The problem seems to be that excluding a directory using the --exclude flag of inotifywait while also using the recursive option only prevents events from being raised by the files matching the regex but folders under the directory still consume inotify watch resources. Some experimentation seems to indicate that a possible solution involves using the @<file>" syntax for excluding directories from inotifywait. Folders excluded with @<file> dont seem to be recursed into when setting up watches. My suggestion would be to use the @<file> syntax for setting up the top level folder exclusions, while continuing to use the --exclude flag for the "Custom folders" and "Custom files" options.

@alaska4life
Copy link

I am having the same issue with inotify resources being exhausted.

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

2 participants