How to stop celery worker process
I have a Django project on an Ubuntu EC2 node, which I have been using to set up an asynchronous using Celery . I am following this along with the docs. I've been able to get a basic task working at the command line, using: (env1)ubuntu@ip-172-31-22-65:~/projects/tp$ celery --app=myproject.celery:app worker --loglevel=INFO To start a worker. I have since made some changes to the Python, but realized that I need to restart a worker. From the command line, I've tried: ps auxww | grep 'celery worker' | awk '{print $2}' | xargs kill -9 But I can see that the worker is still running. How can I kill