Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^4: Fresh eyes - linux::Inotify2 event delays

by ghenry (Vicar)
on Apr 06, 2022 at 19:00 UTC ( [id://11142750]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Fresh eyes - linux::Inotify2 event delays
in thread Fresh eyes - linux::Inotify2 event delays

This is on a CentOS 7 NAS. The files are getting written to it over an NFS share, but watching on the NAS file system side. Kernel 3.10.0-1160.59.1.el7.x86_64. The python inotify has no issues it seems. We might switch to inotifywait like @choroba says and like another dept at $work uses. Or switch to C or Go. Very strange. Again, we get all the events and it feels like they are flushed to us. I might ditch retry and go to ->read. We're playing with the python version to pop UUIDs into a Redis FIFO/queue and move find_call_details() and email_recording() into separate program to speak to Redis.

Replies are listed 'Best First'.
Re^5: Fresh eyes - linux::Inotify2 event delays
by kikuchiyo (Hermit) on Apr 06, 2022 at 20:15 UTC

    NFS, ouch. In that case, all bets are off.

    I don't have direct experience with this combination (NFS+inotify), I just remember reading about it that may work, may not work, or anything in between.

      Ah, but we're watching on the file system not on an NFS mount. Like I sat, Python version not missing nor are we missing events. Very weird.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11142750]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-03-29 14:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found