feat(startup): add --raise-fd-limit CLI flag to raise file descriptor soft limit #277
feat(startup): add --raise-fd-limit CLI flag to raise file descriptor soft limit #277vparfonov wants to merge 1 commit into
Conversation
… soft limit (vectordotdev#25251) * fix(startup): add --raise-fd-limit CLI flag to raise file descriptor soft limit Add an opt-in --raise-fd-limit flag (and VECTOR_RAISE_FD_LIMIT env var) that raises the RLIMIT_NOFILE soft limit to the hard limit at startup, preventing "Too many open files" errors when monitoring many log files. On macOS, falls back to kern.maxfilesperproc if the hard limit is too high. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * serialize rlimit tests and reword changelog Add RLIMIT_MUTEX to prevent concurrent rlimit-mutating tests from interfering with each other. Reword changelog to avoid triggering the CI spelling checker. * move fd-limit raise after logging init and isolate tests in subprocesses --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jcantrill, vparfonov The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@vparfonov: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
backport for: vectordotdev#25251