macOS: Too many open files under normal session usage
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- macos, tauri, typescript
- 領域
- desktop, performance
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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 FDscodex app-server: ~94-95 FDsWebKit.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.
- 主要言語
- TypeScript
- スター
- 4.4k
- フォーク
- 418
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Dimillian/CodexMonitor のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
Dimillian/CodexMonitor#590 ·
-
Local usage overcounts resumed sessions by treating inherited cumulative totals as new usage対応中かも @Huang-siyuan が 51 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
Dimillian/CodexMonitor#616 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 63/100
Dimillian/CodexMonitor#615 · コメント 1 件 ·
-
Codex Monitor does not surface MCP browser tool approval prompts, making browser tools appear hungオープン
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
Dimillian/CodexMonitor#612 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
Dimillian/CodexMonitor#602 · コメント 1 件 · リアクション 1 件 ·
Dimillian/CodexMonitor の issue をすべて見る
似ている issue
-
[Bug]: RUN_STARTED resets the run's tool-call tally even when a subscriber suppresses the eventオープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
ag-ui-protocol/ag-ui#3504 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Dokploy/dokploy#6151 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
area/profiles area/sessions comp/desktop desktop/chat desktop/sessions P2 type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
NousResearch/hermes-agent#161712 ·
メンテナーはふだん 1 日以内に返信
-
bug p3
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
rothgar/rabble.radio#283 ·
メンテナーはふだん 1 日以内に返信
-
bug from-app needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
nightly-labs/openbot#19805 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信