cloudflare / cloudflare/certinel

handle too-many-open-files err in fswatcher.New

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.