watchdog
watchdog copied to clipboard
Event storm while watching a CIFS mount
Hi, I'm watching a directory that has multiple subdirectories on a CIFS mount.
Sometimes I see a storm of FileCreated events happening for each file under the sub-directories I watch. I have like 1000 files in total so I get 1000 events at the same time.
I'm using PollingObserver, my guess is that sometimes the network is slow and it takes more time to get the list of files so the observer just assume that it's empty and at the next round he gets all the files. Am I wrong? If not, is there a way to circumvent that?
Thanks for your help!
I'm seeing exactly the same issue. I have millions of files under the CIFS mount from a windows SMB share. I'm seeing "CIFS VFS: Server xxxx has not responded in 120 seconds." in dmesg, I wonder if there's timeout setting to avoid this.
Seconded, same issue here
Seconded, same issue here