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.3k
- Fork
- 416
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
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 ·
-
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 ·
-
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 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
Dimillian/CodexMonitor#599 ·
Tất cả issue của Dimillian/CodexMonitor
Issue tương tự
-
blocklist removal
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
MetaMask/eth-phishing-detect#296544 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
pastelsky/bundlephobia#1122 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
category/development priority/P2 scope/file-operations scope/testing type/enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Enatega Customer and Rider app: Add-ons price is not visible to customer after order is placed. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100