Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

macOS: Too many open files under normal session usage

Aperta
#583 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
macos, tauri, typescript

Direzione di ricerca

No source files or tests are named. Start by reproducing on macOS with five configured workspaces, using the reported ulimit and lsof snapshots to identify which process exhausts file descriptors. Done means normal or mostly-idle session usage no longer reaches the limit and Too many open files is not observed.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Summary

I'm hitting intermittent Too many open files errors in Codex Monitor on macOS.

This does not look like just a random local spike. Codex Monitor's normal workload seems to keep a meaningful number of file descriptors open across:

  • codex-monitor
  • child codex app-server
  • WebKit.WebContent

On my machine the soft limit is low:

ulimit -n
256

launchctl limit maxfiles
maxfiles    256 unlimited

With 5 workspaces configured, I sampled a live session and saw roughly:

  • codex-monitor: ~104-105 FDs
  • codex app-server: ~94-95 FDs
  • WebKit.WebContent: ~59 FDs

I did not prove a monotonic FD leak in a short sample, so this may be more of a headroom / scaling issue under normal session management than a continuously growing leak.

Closing idle sessions or workspaces may reduce pressure temporarily, but because session management is the core job of the app, I think normal or mostly-idle usage should stay well below the point where Too many open files is possible.

Version: 0.7.66

There also wasn't much useful local logging to show which process actually crosses the limit. If useful, I can provide lsof snapshots and a longer sampling run.

Lingua principale
TypeScript
Stelle
4.3k
Fork
416
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Dimillian/CodexMonitor

Tutte le issue di Dimillian/CodexMonitor

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.