seb-m / pyinotify

Monitoring filesystems events with inotify on Linux.
http://github.com/seb-m/pyinotify/wiki
MIT License
2.29k stars 377 forks source link

Stop receiving notifications #172

Open sergei-sh opened 5 years ago

sergei-sh commented 5 years ago

After a while notifications stop coming forever. And sometimes just from the beginning. I watch CLOSE_WRITE only. There are multiple files being created in the directory continuously without any subdirectories. The target files are created in /dev/shm/img_folder, but this worked before.

sergei-sh commented 5 years ago

I try to catch IN_Q_OVERFLOW but nothing arrives. Look like on queue overflow everything stops before you can even get this message. At the same time the enclosing service is in green "running" state suggesting that the process does not hang.

sergei-sh commented 5 years ago

Created test env to check I can see queue overflow. So it does NOT happen in the above case.

decimalst commented 5 years ago

@sergei-sh Did you ever resolve this issue? I think i'm running into the same thing.

koug44 commented 3 years ago

Maybe have the same issue