feat(startup): add --raise-fd-limit CLI flag to raise file descriptor soft limit - #291
feat(startup): add --raise-fd-limit CLI flag to raise file descriptor soft limit#291vparfonov wants to merge 1 commit into
Conversation
… soft limit Backport of ViaQ#277 from v0.54.0-rh. 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. Also fix clippy error int the aws_cloudwatch_logs healthcheck integration test Signed-off-by: Vitalii Parfonov <vparfono@redhat.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: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: vparfonov The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/hold |
Backport of #277 from v0.54.0-rh.
Add an opt-in
--raise-fd-limitflag (andVECTOR_RAISE_FD_LIMITenv var) that raises theRLIMIT_NOFILEsoft 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.
Also fix clippy error int the
aws_cloudwatch_logshealthcheck integration test