I’m trying to kill a long running PHP process on the Mac (Lion), running a UAMP stack (zend server, unix/apache/mysql/php).
When I run the “top” command, I can’t see a PHP process anywhere. I know it’s hitting at least 100% CPU, because I can hear the fan, but I don’t see anything with high CPU usage. I also can see the process logging things because I’m streaming the log file. On top of this, my browser is still waiting for the request.
UPDATE: Thanks for the hint about activity monitor. It appears that I had to look under ALL PROCESSES and found httpd running at 100%. Thanks again all.
On a typical UAMP stack, PHP is running via
mod_php, which doesn’t start a separate PHP process. You’d need to kill the apache worker which is serving the request.