Debug Your Infrastructure

Get Instant Solutions for Kubernetes, Databases, Docker and more

AWS CloudWatch
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Pod Stuck in CrashLoopBackOff
Database connection timeout
Docker Container won't Start
Kubernetes ingress not working
Redis connection refused
CI/CD pipeline failing

Redis Memory Exhaustion

Redis hitting the configured memory limit, leading to evictions (if configured), errors, or crashes.
  1. Check memory usage: Run INFO memory to get an overview of the current memory usage of your Redis instance.
  2. Identify big keys: Use the MEMORY USAGE <key> command on your keys to find any that are using a disproportionate amount of memory.
  3. Monitor commands and their counts: Execute MONITOR (use with caution as it can reduce performance) to see real-time commands being executed, or INFO commandstats for statistics about command executions.
  4. Check eviction policies: Run CONFIG GET maxmemory-policy to see the current eviction policy. If it's set to 'noeviction', you might need to change it to handle memory better.
  5. Check for expiration: Use RANDOMKEY or SCAN in a loop combined with TTL to check if keys are set to expire. If many keys never expire, this might be an issue.
  6. Adjust max memory: If appropriate and possible, increase the maxmemory setting via CONFIG SET maxmemory <bytes> to allow Redis to use more memory.
  7. Manually clear data: If specific keys are known to be safe to remove and are taking up unnecessary space, use DEL <key> to manually remove them.
  8. Enable or adjust eviction: If you haven't already, you might need to enable or adjust your eviction policy with CONFIG SET maxmemory-policy <policy-name> to something like allkeys-lru to automatically manage memory.
  9. Persist data and restart: If it's safe to do so, you could save the current dataset to disk with BGSAVE and then restart the Redis server to clear the entire memory, but this will result in downtime.

Master 

Redis

 debugging in Minutes

— Grab the Ultimate Cheatsheet

(Perfect for DevOps & SREs)

Most-used commands
Real-world configs/examples
Handy troubleshooting shortcuts
Your email is safe with us. No spam, ever.

Thankyou for your submission

We have sent the cheatsheet on your email!
Oops! Something went wrong while submitting the form.

Redis

Cheatsheet

(Perfect for DevOps & SREs)

Most-used commands
Your email is safe thing.

Thankyou for your submission

We have sent the cheatsheet on your email!
Oops! Something went wrong while submitting the form.

MORE ISSUES

Deep Sea Tech Inc. — Made with ❤️ in Bangalore & San Francisco 🏢

Doctor Droid

Debug Your Infrastructure

Get Instant Solutions for Kubernetes, Databases, Docker and more

AWS CloudWatch
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Pod Stuck in CrashLoopBackOff
Database connection timeout
Docker Container won't Start
Kubernetes ingress not working
Redis connection refused
CI/CD pipeline failing

Heading

This is some text inside of a div block.

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Block quote

Ordered list

  1. Item 1
  2. Item 2
  3. Item 3

Unordered list

  • Item A
  • Item B
  • Item C

Text link

Bold text

Emphasis

Superscript

Subscript

Master 

Heading

 debugging in Minutes

— Grab the Ultimate Cheatsheet

(Perfect for DevOps & SREs)

Most-used commands
Real-world configs/examples
Handy troubleshooting shortcuts
Your email is safe with us. No spam, ever.

Thankyou for your submission

We have sent the cheatsheet on your email!
Oops! Something went wrong while submitting the form.

Heading

Cheatsheet

(Perfect for DevOps & SREs)

Most-used commands
Your email is safe thing.

Thankyou for your submission

We have sent the cheatsheet on your email!
Oops! Something went wrong while submitting the form.

MORE ISSUES

No items found.
Deep Sea Tech Inc. — Made with ❤️ in Bangalore & San Francisco 🏢

Doctor Droid