proc list only shows "/usr/bin/php" - no more file names???
We use cpanel on our centos servers and we've updated our servers recently using easyapache to the latest php4 and mod_suphp and I've noticed that in top (running "top c" in shell) all php processes by any user are simply displayed as "/usr/bin/php"
Before this update the processes also showed the file name eg. "/usr/bin/php lamescript.php" which allowed to easily find troublesome scripts ... but now there's no way of knowing what the script in question is that's eating up 100% of the cpu .. or is there?
Thanks, I wasn't aware of this limitation imposed by the new suPHP and the logs help somewhat, however they are not 100% helpful as they do not mention the process IDs or anything of the sort.
If a customer's site is entire PHP based, grepping the log file for their username will bring up hundreds/thousands of results, without a way of knowing which script is part of the process that is causing issues.
Maybe the mod_suphp developers could add functionaly similar to phpsuexec's so that the script name is listed in process listings (in detailed top for example ie. top c)