[Fixed]-How to stop gunicorn_django in virtualenv?

26👍

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.

20👍

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/)

15👍

A faster way:

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

updated code

1👍

This was a bug that has just been fixed here.

Leave a comment