Skip to content

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

@dcflachs

Description

@dcflachs

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions