starvationProtection.maxReads¶
Limit consecutive reads from one imbeats session before other sessions can run.
This parameter applies to imbeats: Beats v2 input module.
- Name:
starvationProtection.maxReads
- Scope:
input
- Type:
non-negative integer
- Default:
input=500
- Required?:
no
- Introduced:
8.2606.0
Description¶
Set the maximum number of consecutive socket reads a worker performs for one
imbeats session before yielding so other ready sessions can be processed.
This prevents one busy Beats sender from monopolizing the listener.
Use 0 to disable this fairness limit. Positive values cap the number of
consecutive reads per turn; smaller values favor fairness across sessions,
while larger values favor throughput for busy senders.
Input usage¶
input(type="imbeats" port="5044" starvationProtection.maxReads="300")
See also¶
See also imbeats: Beats v2 input module.
Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project
Contributing: Source & docs: rsyslog source project
© 2008–2026 Rainer Gerhards and others. Licensed under the Apache License 2.0.