http://www.perlmonks.org?node_id=738904


in reply to How to wait for events, and not lose any, while processing them ?

It is a "feature" of inotify on Linux that if you do not read events fast enough, you will miss them (certain Windows interfaces suffer from the same problem).

I suggest that you process the events in a different thread. You might also want to checkout Linux::Inotify2.