You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(vector): add support for raising file descriptor limits
Add annotation-driven support for Vector's VECTOR_RAISE_FD_LIMIT env var,
enabling the collector to raise file descriptor soft limits at startup.
This prevents "Too many open files" errors when monitoring large numbers
of log files concurrently.
Key changes:
- New annotation: observability.openshift.io/raise-fd-limit (default: false)
- Sets VECTOR_RAISE_FD_LIMIT env var on the collector container
- Vector reads the env var natively, no entrypoint script changes needed
- Input validation rejects invalid values (only "true"/"false" allowed)
- Status condition reports validation errors to the user
Default matches Vector's behavior (false = don't raise fd limits).
Users must explicitly set the annotation to "true" to opt in.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This feature enables Vector to automatically raise its file descriptor soft limit to match the hard limit at startup. This prevents "Too many open files" errors when Vector is monitoring a large number of log files concurrently.
4
+
5
+
Systems often default to restrictive file descriptor soft limits (e.g. 1024 on Linux), which can cause Vector to fail when processing many log sources simultaneously. When enabled, the operator sets the `VECTOR_RAISE_FD_LIMIT` environment variable, which Vector reads natively to raise the soft limit at startup without requiring manual sysadmin intervention.
0 commit comments