Skip to content

AxonOps — AI-Native Control Plane for Open Source Data Platforms

Cassandra Troubleshooting Playbooks

Step-by-step guides for diagnosing and resolving specific Cassandra issues.

Each playbook follows the SDRR Framework:

  1. Symptoms - Observable indicators of the problem
  2. Diagnosis - Commands and checks to identify root cause
  3. Resolution - Step-by-step fix procedures
  4. Recovery - Verification and prevention

PlaybookSymptomsSeverity
High CPU UsageCPU consistently > 80%, slow responsesMedium
High Memory UsageOOM errors, frequent GC, heap exhaustionHigh
Slow QueriesHigh latency, timeouts on specific queriesMedium
GC Pause IssuesLong GC pauses, application stallsHigh
Large Partition IssuesSlow reads, OOM during compactionHigh
Tombstone AccumulationTombstoneOverwhelmingException, slow readsHigh
Compaction IssuesGrowing SSTable count, degrading readsMedium

PlaybookSymptomsSeverity
Schema DisagreementSchema versions differ across nodesHigh
Gossip FailuresNodes not seeing each otherCritical
Repair FailuresRepairs failing or not completingMedium

PlaybookSymptomsSeverity
Replace Dead NodeNode permanently failedHigh
Decommission NodeRemoving node from clusterMedium
Add NodeExpanding cluster capacityLow
Recover from OOMNode killed by OOMHigh
Handle Full DiskDisk space exhaustedCritical

SeverityResponse TimeExamples
CriticalImmediateDisk full, gossip failure, cluster partition
HighWithin 1 hourOOM, schema disagreement, node down
MediumWithin 4 hoursHigh CPU, compaction backlog, repair failures
LowScheduledCapacity planning, node additions
Terminal window
# Quick cluster health check
nodetool status
nodetool tpstats | head -20
nodetool compactionstats
# Check for immediate issues
df -h /var/lib/cassandra # Disk space
free -h # Memory
tail -50 /var/log/cassandra/system.log | grep -i error

  1. Read the entire playbook before executing commands
  2. Understand the impact of each step
  3. Have rollback plan ready
  4. Notify stakeholders for production changes
  1. Follow steps in order - sequence matters
  2. Verify each step before proceeding
  3. Document what was done for post-incident review
  4. Monitor impact on cluster and applications
  1. Verify the fix using the recovery section
  2. Document root cause and timeline
  3. Implement prevention measures
  4. Update runbooks if needed