Skip to main content
FBL3 LOGBUFFER OPS // FLUENT BIT MEM_BUF_LIMIT + VECTOR DISK_V2 STUDIO CHUNK SPILLOVER + THREADED SINKS | INTERSERVER KVM SLICES | ULTAHOST NVME | 2026-11-14
FluentBitLogOps
FluentBitLogOps Affiliate Notice: Outbound /go/ links marked rel="sponsored" may earn a partner commission at zero added cost (Affiliate Policy).
Pipeline Presets

Kubernetes DaemonSet Pod w/ Strict 128 MB Memory Limit

Run Fluent Bit on every worker node inside a 128 MiB cgroup ceiling using storage.type=filesystem, max_chunks_up=32, and cri multiline parsing.

22-68 MB RSS · cgroup 128 MiB Safe · Zero Pod OOMKill

Kubernetes DaemonSet Pod w/ Strict 128 MB Memory Limit
Log pipeline telemetry verified 2026-11-14 by LogBuffer Ops.

Why DaemonSets Get OOMKilled Under Default Settings

Leaving storage.max_chunks_up at its 128-chunk default allows up to 256 MB of hot chunk buffers in RAM, immediately triggering Kubernetes cgroup OOMKill (exit 137) on pods capped at 128 MiB or 256 MiB.

Spilling Backlog Safely to hostPath NVMe

Mounting /var/log/flb-storage onto hostPath SSD with storage.max_chunks_up=32 keeps DaemonSet RSS predictable under 70 MB even when Loki or ClickHouse experiences a 20-minute rolling restart.

Measured Parameters & Shipper Configuration Directives

Directive / ParameterRecommended SettingOperational Reason
storage.max_chunks_up32 (~64 MB hot RAM ceiling)Keeps total up-chunks well below the 128 MiB pod limit
Mem_Buf_Limit10MB (when memory-only)Pauses tail input immediately when downstream stalls
storage.backlog.mem_limit5MCaps memory spent replaying hostPath .flb backlog chunks
Kubernetes FilterMerge_Log On, Keep_Log Off, Buffer_Size 32kEnriches pod labels without doubling JSON memory allocation
22-68 MB RSS · cgroup 128 MiB Safe · Zero Pod OOMKill Launch InterServer KVMUltaHost NVMe