top
or htop
on the server to see if the CPU or memory is maxed out. For memory specifically related to Redis, you can use the Redis command INFO memory
to see memory usage details.SLOWLOG GET
to retrieve a list of slow operations. If the slowlog is empty, you might need to lower the slowlog threshold.ping
or traceroute
from your application server to the Redis server to check for any network delays.INFO Clients
to see if there are any clients listed as blocked, which might indicate issues with blocking commands or transactions taking too long.CONFIG GET *
to review current Redis configuration settings that might be impacting performance, such as maxmemory
settings or eviction policies.redis-cli --bigkeys
or MEMORY USAGE <key>
for specific keys to identify if particular keys are consuming an unusual amount of memory, which could affect performance.INFO Persistence
output. Large save operations or frequent AOF rewrites could impact performance.MONITOR
Command Sparingly: The MONITOR
command allows you to see all commands being executed in real-time but can significantly reduce performance. Use it briefly to spot immediate issues.CLIENT LIST
or INFO Clients
, you can see all current connections to Redis and possibly identify unexpected or excessive connections.Let Dr. Droid create custom investigation plans for your infrastructure.
Book Demo