Runbook

High memory consumption in Redis

Back to Runbooks

Overview

This incident type relates to Redis, a popular in-memory data structure store that is widely used in software development. The incident occurs when there is high memory consumption in Redis, which can lead to performance issues and potentially cause the system to crash. This incident type is critical as it can impact the functionality of the system and requires immediate attention to resolve.

Debug

Check if Redis is running

Check Redis version

Check Redis configuration file

Check Redis memory usage

Check Redis memory limit

Check Redis memory usage by database

Check Redis keyspace statistics

Check Redis slow log

Check system memory usage

Check system swap usage

Check system disk usage

Repair

Increase the memory available to Redis by modifying the Redis configuration file.

Use Redis' built-in eviction policies to automatically remove least recently used keys when memory consumption gets too high.

Parameters

Learn more

Related Runbooks

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