Stuck processes need to be killed on pythonanywhere [closed]
-
13-06-2021 - |
문제
The kill button on the schedule page isn't working at the moment on pythonanywhere. Any ideas for a work around while I wait for support from the helpful folks at ResolverSys?
I currently can't open a new process from consoles My scheduled tasks aren't running.
I can however SSH in, so if there is an idea using that I could help myself.
해결책
I finally figured out a work around for this problem.
The links to kill on the schedule page include the pid. I was able to extract those pids to use with kill from an ssh session.
So, for instance if your pid is 100 you can take care of it from ssh with
kill 100
Just replace 100 with your pid from the link to kill the process as listed on the schedule page.
I wish I had thought of it sooner, but hopefully anyone else that has the issue will benefit from this solution.