macOS: Too many open files under normal session usage
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- macos, tauri, typescript
- Lĩnh vực
- desktop, performance
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- TypeScript
- Star
- 4.4k
- Fork
- 418
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Dimillian/CodexMonitor
-
Listed in Awesome Codex CLIĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
Dimillian/CodexMonitor#590 ·
-
Local usage overcounts resumed sessions by treating inherited cumulative totals as new usageCó thể đã có người làm @Huang-siyuan đã nhận 51 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Dimillian/CodexMonitor#616 ·
-
Unable to select the commandĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 63/100
Dimillian/CodexMonitor#615 · 1 bình luận ·
-
Codex Monitor does not surface MCP browser tool approval prompts, making browser tools appear hungĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
Dimillian/CodexMonitor#612 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
Dimillian/CodexMonitor#602 · 1 bình luận · 1 reaction ·
Tất cả issue của Dimillian/CodexMonitor
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ardia-browser/ardia#5042 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
clipy-recorder/clipy#695 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: RUN_STARTED resets the run's tool-call tally even when a subscriber suppresses the eventĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
ag-ui-protocol/ag-ui#3504 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Dokploy/dokploy#6151 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày