Systems Tuning
Backpressure Strategy: Pause-on-Full vs Drop-Overflow Tradeoffs
Compare Fluent Bit input pausing, Vector when_full="block" vs "drop_newest", and disk spillover so upstream apps never deadlock on stdout pipes.
App Safety: Disk Spillover > Block > Drop Newest
How Container Stdout Pipes Freeze Applications
If a shipper halts reading container logs for hours, Docker json-file rotation stalls or systemd-journald rate-limits logs. Always allocate a dedicated filesystem disk buffer with storage.total_limit_size so backpressure absorbs spikes gracefully.
Protecting Root Disks With Total Limit Quotas
Set storage.total_limit_size in Fluent Bit or disk_v2 max_size in Vector to at most 70% of free partition space so an extended ClickHouse outage never bricks SSH or database writes on the host.
Measured Parameters & Shipper Configuration Directives
| Backpressure Policy | App Stdout Impact | Recommended Use Case |
|---|---|---|
| Disk Buffer + Block | Zero app blocking until SSD fills | Production web, payment, and audit pipelines |
| Memory + Block / Pause | Tail pauses; Docker/CRI buffer fills | Stateless debug logs where disk space is unavailable |
| when_full = "drop_newest" | Never blocks app; discards overflow | Non-critical metrics or noisy CDN trace firehoses |
| storage.total_limit_size | 5G - 20G hard disk quota | Prevents log spillover from filling /var/log root partition |