cloudflare / cloudflare/certinel
handle too-many-open-files err in fswatcher.New
- Dominant language
- Go
- Stars
- 56
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
calling fswatcher.New when the OS has too many files currently open currently results in `fswatcher: error creating watcher: too many open files`, which can cause the top level application to crash.
maybe a better behavior here is to fallback to polling and trying to watch again later?
open to suggestions!
Contributor guide
Research direction
The entry point named is fswatcher.New; begin by tracing how it handles the OS “too many open files” error and how its caller reacts. Define the intended fallback or retry behavior and a reproducible test for it; done requires agreement on that behavior and verification that the top-level application no longer crashes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend, operating-systems
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100