title: How to kill all instance of uwsgi
body: <p>I am trying to upload my project to the server. There is already a project in the server now. I have new project which I want to run and replace the old project with the new one, so I pull the new project to the server. Then I activate the virtual environment and do all the necessary work. Then when I try to run the command:</p>
  
  <pre><code>uwsgi --plugins=python --chdir=/var/www/prjt/src/ --socket=127.0.0.1:8889 --module=prjt.wsgi:application &amp;
  </code></pre>
  
  <p>it tell me that </p>
  
  <pre><code>probably another instance of uWSGI is running on the same address (127.0.0.1:8889).
  bind(): Address already in use [core/socket.c line 761]
  </code></pre>
  
  <p>I searched for similar problems and found some solutions about killing all instance of uwsgi as mentioned in this answer <a href="https://stackoverflow.com/a/11738320">here</a> but could not find how to do it.</p>