I am developing some PHP scripts on a generic Namecheap server. I accidentally made a loop that seems to last forever (or a very long time), so now I'm trying to kill it using SSH.
I looked at the list of running processes with top , found the wrong PHP script and tried to kill it with kill . However, after I kill him with this command, when I try to use ps , it still works!
ps result:
PID TTY STAT TIME COMMAND 819520 ? S 0:00 /usr/bin/php /my/php/file.php
I tried to kill the process again and again, but it just wonβt die!
SSH is limited, so I cannot use commands like killall . What should I do?!
source share