Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event storm while watching a CIFS mount #802

Open
jdutriaux opened this issue Jun 2, 2021 · 3 comments
Open

Event storm while watching a CIFS mount #802

jdutriaux opened this issue Jun 2, 2021 · 3 comments

Comments

@jdutriaux
Copy link

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!

@jdutriaux jdutriaux changed the title Event storm while listening to CIFS mount Event storm while watching a CIFS mount Jun 2, 2021
@fe0376
Copy link

fe0376 commented Jun 30, 2021

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.

@matthdsm
Copy link

Seconded, same issue here

1 similar comment
@rogue-shadowdancer
Copy link

Seconded, same issue here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants