apache / apache/brpc

process_fd_count返回值上限为10004

Open
#805 0 comments 0 reactions 0 assignees View on GitHub
discussion
Dominant language
C++
Stars
17.6k
Forks
4.1k
Avg merge
2d 12h
Merged PRs (30d)
69

Description

请问一下,如果目前进程的资源描述符个数超过10004个,bvar里面的process_fd_count最后只能返回10004,请问这个是处于什么考虑?

Contributor guide

Open the contributing guide

Research direction

Locate the bvar implementation of process_fd_count and inspect how the process file-descriptor count is obtained and capped at 10004. Confirm whether the limit is intentional, identify its rationale from the surrounding code or history, and report the maintainer-approved behavior or required change.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
observability
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.