I created a php script that has ignore_user_abort(true); in it, and it is running in infinite loop... I closed the webpage, apache server and the browser too.. Its running like a armageddon now.. Nothing seems to stop it.. how do I stop it ?? What does it run as (process name) in windows ?? I searched for terms related to php or server or browser.. nothing seems to hit..
How do I "kill" the process now ??
http://www.mywebref.com/Code_Helper/pages/40.html seems to explain this nicely.
- SSH into the server
- Type in
ps x
- See the list of processes currently on your server
- Get the PID(process id) from that list and type
kill xxxxx
That should do it.
Thank you to the guy that posted that by the way. Now I know too. :)
With reference to the answer by etbal, this is OK as long as the process isn't continually spawning other processes due to some error in your programming logic (happened to me :().
Then you might try
where uuuu is your SSH username. That should kill ALL processes belonging to you. In my particular case, the file causing the problem kept calling itself, it had to be renamed so it couldn't call itself again, and then a pkill issued.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With