This incident type refers to a performance degradation issue in a Cassandra database caused by the new generation garbage collection (GC) process. Garbage collection is a process by which the unused memory occupied by objects in a program is cleared. In some cases, the new generation GC process may take longer than usual, causing performance issues in the Cassandra database. This could lead to slowness in queries or even crashing of the database.
Parameters
Debug
Check Cassandra process status
Check Cassandra logs for any garbage collection errors
Check the current garbage collection settings for Cassandra
Check the current heap usage of Cassandra
Check the garbage collection logs for detailed information
Check the JVM arguments being used by Cassandra
Check the configuration file for Cassandra
Check the current Java version being used by Cassandra
Repair
Increase the heap size: One possible solution is to increase the heap size of the Cassandra database. This provides more memory space for the garbage collector to work with, which can reduce the time it takes to perform garbage collection.
Adjust the garbage collection settings: The garbage collection settings can be adjusted to optimize performance. This can include adjusting the frequency of garbage collection or changing the garbage collector algorithm.
Learn more
Related Runbooks
Check out these related runbooks to help you debug and resolve similar issues.