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

Error 'failed to create fsnotify watcher: too many open files' when downloading a lot of files #18

Open
schakko opened this issue Jun 3, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@schakko
Copy link
Contributor

schakko commented Jun 3, 2023

During startup, an error can if a lot of files have to be downloaded:

time="2023-06-03T08:28:04Z" level=info msg="Retrieved 35 items from disk `aaa`"
time="2023-06-03T08:28:04Z" level=info msg="Backup definitions in 'bbb' changed, parsing new definitions."
time="2023-06-03T08:28:04Z" level=info msg="Retrieved 10 items from disk `bbb`"
2023/06/03 08:28:31 http: superfluous response.WriteHeader call from github.com/dreitier/cloudmon/web.Download (api.go:75)
2023-06-03T08:28:35.150703388Z 2023/06/03 08:28:35 http: superfluous response.WriteHeader call from github.com/dreitier/cloudmon/web.Download (api.go:75)
failed to create fsnotify watcher: too many open files

Assumption: s3 go client library creates temporary files when .GetObject is called.

@schakko schakko added the bug Something isn't working label Jun 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant