Skip to content

Instantly share code, notes, and snippets.

@sweenzor
Created June 15, 2012 00:52
Show Gist options
  • Select an option

  • Save sweenzor/2933958 to your computer and use it in GitHub Desktop.

Select an option

Save sweenzor/2933958 to your computer and use it in GitHub Desktop.
Kill all celery tasks (redis)
# nuke the queue
redis-cli FLUSHALL
# nuke anything currently running
pkill -9 celeryd
@kunalbhagawati

kunalbhagawati commented Jul 28, 2018

Copy link
Copy Markdown

FLUSHALL will nuke everything in redis (globally, across all databases). It may be safer to nuke only the DB celery is running on: FLUSHDB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment