Skip to main content
READY SERIESSTORE LAB // PROMETHEUS OOM VS VICTORIAMETRICS TSDB BASELINE: 2026-11-11 | TARGET: 0.8-1.3 KB/SERIES | 0.4-0.9 B/SAMPLE ZSTD
VictoriaMetrics
VictoriaMetrics Disclosure: Outbound /go/ links marked rel="sponsored" may earn a partner commission at zero checkout cost (Disclosures).
SeriesStore Lab // TRIAGE INDEX

Prometheus OOM & TSDB Cardinality Error Diagnostics (10)

Identify why Prometheus crashes at 4.5-8+ KB/series during 2-hour compactions, why pod churn breaks postings caches, and how VictoriaMetrics cuts RAM 80%+.

SeriesStore Lab cardinality curve: active series RAM & Gorilla/ZSTD compression across 100k to 15M series.
SeriesStore Lab cardinality curve: active series RAM & Gorilla/ZSTD compression across 100k to 15M series.

10 Technical Triage Guides

ERROR 01 // COMPACTION EXIT 137

Prometheus Compaction OOM 137

Prometheus buffers raw samples in a 2-hour head block before compacting them onto disk, causing 1.5x memory spikes that trigger Linux OOM Exit 137 on 4-16 GB VPS.

ERROR 02 // POD CHURN EXPLOSION

Pod Churn Cardinality Spike

Rolling deployments, CronJobs, and HPA autoscaling create thousands of short-lived pod and container_id label sets every hour, poisoning TSDB index memory.

ERROR 03 // WAL REPLAY STALL

Prometheus WAL Replay Stall

After an OOM kill, Prometheus must replay gigabytes of uncompacted WAL files before serving queries or scraping targets, often triggering repeated watchdog kills.

ERROR 04 // SLOW RANGE-QUERY

Grafana Range-Query Timeout

Querying 30-day or 6-month rate() windows across millions of active series stalls Prometheus block iterators and triggers Grafana 504 Gateway Timeouts.

ERROR 05 // REMOTE WRITE DROP

Remote-Write Queue Drops

Using a full Prometheus server purely as a remote_write forwarder wastes gigabytes of RAM on local head blocks and drops samples whenever network latency spikes.

ERROR 06 // SAAS OVERAGE SHOCK

Grafana Cloud $8/1k Shock

Metered SaaS metrics platforms charge $8+ per 1,000 active series above free tiers—meaning 500k to 2M Kubernetes series easily cost $4,000 to $16,000 every month.

ERROR 07 // DISK BLOAT

TSDB Multi-Year Disk Bloat

Storing 12 to 36 months of 15s Prometheus metrics consumes 2.0-2.8 bytes/sample plus bloated index files—exhausting expensive cloud block volumes rapidly.

ERROR 08 // EMFILE LIMITNOFILE

IndexDB EMFILE Too Many Files

Default Linux systemd and Docker file-descriptor limits (1024-4096) cause VictoriaMetrics to abort part merges and HTTP scrapes with "too many open files".

ERROR 09 // MAX SERIES QUERY

maxUniqueTimeseries Exceeded

Wide Grafana template-variable queries like {namespace=~".*"} hit the default -search.maxUniqueTimeseries=300000 guardrail and return HTTP 422 errors.

ERROR 10 // HISTOGRAM BLOAT

Histogram Bucket Bloat

A single Envoy, Istio, or NGINX HTTP latency histogram with 20 le buckets multiplies every route, status code, and pod into 22x active time series.

VictoriaMetrics: Escape Prometheus OOM & Grafana $8/1k bills — InterServer $6/TB Slice Launch $6/TB Slice