SSH: Kill/Stop all Running index.fcgi Processes
In this article, we will show you how to “kill” or stop a FastCGI script after it has started running. This can sometimes be helpful when changes made to python scripts or applications are not appearing on the website.
1) Login to your account over SSH using your preferred SSH client.
2) You can confirm the process is still running by issuing the following command…
ps ux | grep index.fcgi |
3) We can kill all index.fcgi files by running the following command…
ps ux | grep index.fcgi | grep -v grep | awk '{print $2}' | xargs kill -15 |
That’s it! If you have any questions, please feel free to leave a comment here, or if you would prefer, you can contact our support team directly by opening a ticket though Backstage.