seb-m / pyinotify

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

pyinotify event queue overflowed #189

Open mashrin opened 4 years ago

mashrin commented 4 years ago

I am getting this when moving ~10K files in the watcher folder. Can someone guide me on how to increase the "max_queued_events" size for pyinotify?

yellowpattern commented 4 years ago

To change the queue length to 256K: sysctl -w fs.inotify.max_queued_events=262144

yellowpattern commented 4 years ago

This is only part of the problem. Other parts of this problem are: