Runbook

Excessive JVM GC on Cassandra Cluster

Back to Runbooks

Overview

This incident type refers to a problem where the Java Virtual Machine (JVM) running on a Cassandra cluster is experiencing an excessive amount of garbage collection (GC) events. GC is a process where the JVM frees up memory by removing objects that are no longer in use. Excessive GC can lead to performance degradation and even system crashes.

Parameters

Debug

Check if Cassandra is running

Check Cassandra's logs for GC events

Check the heap size and usage of the JVM

Check the overall CPU and memory usage of the server

Check the disk usage and I/O operations of the server

Check the network traffic of the server

The Cassandra cluster may be running on hardware that does not meet the minimum requirements for the workload, resulting in insufficient memory resources and increased GC frequency.

Repair

Adjust JVM heap size: Increasing the heap size of the JVM running on the Cassandra cluster can help reduce the frequency of GC events. This can be done by configuring the JVM parameters.

Learn more

Related Runbooks

Check out these related runbooks to help you debug and resolve similar issues.