Skip to content

inotify discriptor turns to -1 #3

@Oliver-EMRLD

Description

@Oliver-EMRLD

So I have uncovered a potential bug in the inotify api. I have a program that monitors certain directories for changes with inotify and I wrote a quick bash script that creates 100000 files with the name x and then deletes it. And after around 19000 events, +- 600 the watchdiscriptor for inotify turns into -1. this wouldnt come up in real world usage I think, but still, i wanted to inform you.

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