Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

macOS: Too many open files under normal session usage

Đang mở
#583 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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 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.

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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Dimillian/CodexMonitor

Tất cả issue của Dimillian/CodexMonitor

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.