Skip to content

feat(startup): add --raise-fd-limit CLI flag to raise file descriptor soft limit - #291

Open
vparfonov wants to merge 1 commit into
ViaQ:v0.47.0-rhfrom
vparfonov:raise-fd-limit-v0.47.0-rh
Open

feat(startup): add --raise-fd-limit CLI flag to raise file descriptor soft limit#291
vparfonov wants to merge 1 commit into
ViaQ:v0.47.0-rhfrom
vparfonov:raise-fd-limit-v0.47.0-rh

Conversation

@vparfonov

Copy link
Copy Markdown

Backport of #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

… 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>
@coderabbitai

coderabbitai Bot commented Aug 13, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 1112e09e-0acb-4b6a-bdb5-986c933f19db

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@openshift-ci
openshift-ci Bot requested review from Clee2691 and jcantrill August 13, 2026 13:37
@openshift-ci

openshift-ci Bot commented Aug 13, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: vparfonov
Once this PR has been reviewed and has the lgtm label, please assign xperimental for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jcantrill

Copy link
Copy Markdown
Member

/hold

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants