Skip to content
Veltoryx Technologies
ProLesson 9.4Intermediate7 min readUpdated 31 October 2026

Production Troubleshooting Handbook: 5 Critical Outages

Diagnose and resolve the five most common Kafka production outages: under-replicated partitions, lag spikes, rebalance storms, disk full, and quorum loss.

Operating distributed systems in production guarantees that incidents will eventually occur: hardware fails, network partitions drop packets, rogue producers flood partitions with bad payloads, and disks fill up.

When an alert pages the on-call engineer at 2:00 AM, following an ad-hoc debugging process increases mean-time-to-recovery (MTTR) and risks compounding the incident.

This handbook details the root causes, diagnostic commands, and recovery playbooks for the five most critical production Kafka outages.

Production Troubleshooting Handbook
Fig. 1 · Production Troubleshooting Handbook

01Outage 1: Under-Replicated Partitions (URP > 0)

Symptoms

  • Prometheus alert: UnderReplicatedPartitions > 0 firing for more than 5 minutes.
  • Producers with acks=all begin throwing NotEnoughReplicasException.
  • Cluster dashboard shows one or more brokers missing from the In-Sync Replicas (ISR) list.

Root causes

  1. Broker process or node crash: Hardware failure, OOM killer termination, or ungraceful shutdown.
  2. Disk I/O saturation: Follower broker cannot write data to disk fast enough to keep up with the leader within replica.lag.time.max.ms (default 30,000 ms).
  3. Inter-broker network partition: Network congestion or firewall rules blocking follower fetcher threads.

Triage playbook

  1. Identify the affected partitions and lagging brokers:
    bash
    kafka-topics.sh --bootstrap-server localhost:9092 --describe --under-replicated-partitions
  2. Inspect the lagging broker's disk I/O performance:
    bash
    # Run on the struggling broker host to inspect disk wait times
    iostat -xz 1 10
    If %util is pegged at 100% or await exceeds 50ms, the storage subsystem is saturated.
  3. Check the broker server log for follower fetch errors:
    bash
    grep -E "ReplicaFetcherThread|Shrinking ISR" /var/log/kafka/server.log
  4. Resolution: If the node crashed, restart it. If the broker is permanently unrecoverable, remove it from the cluster and trigger a partition reassignment using kafka-reassign-partitions.sh to move replicas onto healthy brokers.

Loading the rest of the lesson…