Fluent Bit logs `[warn] [input] tail.0 paused (mem buf overlimit)` and logs go missing
IntermediateTroubleshootingLogging: Loki, Fluent Bit and Elasticsearch
Answer
Likely causes → Mem_Buf_Limit is reached because the output is slower than input (backpressure); while paused, new lines are not read and rotated files can be lost.
Diagnose →
curl -s http://127.0.0.1:2020/api/v1/metrics | jq
Check fluentbit_input_paused, output retries and errors.
Fix → Enable filesystem buffering so data spills to disk instead of pausing:
[SERVICE]
storage.path /var/fluent-bit/state/flb-storage/
[INPUT]
Name tail
storage.type filesystem
Fix the slow output (scale Elasticsearch/Loki, increase Workers).
Prevent → Alert on paused inputs and on fluentbit_output_dropped_records_total.
More on Logging: Loki, Fluent Bit and Elasticsearch
Promtail/Alloy logs `server returned HTTP status 400 Bad Request (400): entry with timestamp ... ignored, reason: 'entry out of order' for stream`IntermediateAgents log `server returned HTTP status 429 Too Many Requests (429): Ingestion rate limit exceeded for user fake (limit: 4194304 bytes/sec)`IntermediateLoki rejects pushes with `Per stream rate limit exceeded (limit: 3MB/sec) while attempting to ingest for stream`AdvancedLoki logs `maximum active stream limit exceeded, reduce the number of active streams`AdvancedLogQL query fails with `max entries limit per query exceeded, limit > max_entries_limit (10000 > 5000)`BeginnerLogQL returns `too many outstanding requests` in GrafanaAdvanced