[Fixed]-How to stop gunicorn_django in virtualenv?


The general solution to problems like this is to do ps ax|grep gunicorn to look for the relevant process, then do kill xxxx where xxxx is the number in the first column.


Just found this also – pkill – which will kill all processes matching the search text:

$ pkill gunicorn

No idea how well supported it is, but can confirm that it works on Ubuntu 12.04

(from http://www.howtogeek.com/howto/linux/kill-linux-processes-easier-with-pkill/)


A faster way:

> kill -9 `ps aux | grep gunicorn | awk '{print $2}'`

updated code


This was a bug that has just been fixed here.

Leave a comment