Clean up Redis Queue

Clean up Redis Queue

Question:
How to cleanup the redis queue when facing the OOM issue(Observe the error in attached Screenshot) ?

Cleanup Redis Queue


Answer:
Use the below redis command to clear the redis queue completely.

“redis-cli FLUSHALL”.

Alternatively we can delete specific redis queues using “redis-cli del ‘queuename’ “