Systems Tuning
Why Retry_Limit no_limits Causes Silent Memory Leaks & Outages
Stop infinite exponential retry queues from locking up buffer chunks for days by enforcing finite Retry_Limit 5-10 with dead-letter fallback.
Retry_Limit 5 (~155s Backoff) · Zero Zombie Chunks
The Poison-Pill Batch Deadlock
If a single malformed log line triggers an HTTP 400 schema rejection from ClickHouse or OpenSearch, Retry_Limit no_limits forces Fluent Bit to retry that exact chunk indefinitely, filling disk buffers and stalling healthy logs.
Pairing Finite Retries With Prometheus Metrics
Monitor fluentbit_output_retried_records_total and fluentbit_output_dropped_records_total on port 2020 so Retry_Limit 5 drops trigger an alert without taking down the collector.
Measured Parameters & Shipper Configuration Directives
| Retry_Limit Value | Backoff Window | Risk Profile |
|---|---|---|
| Retry_Limit False / no_limits | Infinite forever | Corrupt 400 payload retries forever, blocking valid chunks |
| Retry_Limit 5 | ~2.5 minutes exponential backoff | Survives rolling restarts while dropping bad poison-pill batches |
| Retry_Limit 10 | ~17 minutes exponential backoff | Good fit when paired with disk buffer and 15m sink maintenance |
| HTTP 400 Poison Pills | Never fixed by retrying | Use dead-letter file or VRL schema validation before sink |