Req #52659 [Opn->Bgs]: change FPM processes title according to their type
| From: | fat@php.net | Date: | Fri, 20 Aug 2010 17:33:04 +0000 |
| Subject: | Req #52659 [Opn->Bgs]: change FPM processes title according to their type | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-153670@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52659&edit=1
ID: 52659
Updated by: fat@php.net
Reported by: fat@php.net
Summary: change FPM processes title according to their type
-Status: Open
+Status: Bogus
Type: Feature/Change Request
Package: FPM related
Operating System: *
PHP Version: 5.3.3
Block user comment: N
New Comment:
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2010-08-20 19:31:24] fat@php.net
Description:
------------
each FPM process have the same name (the command line used to launched
it).
It would be great to name them according to their type.
The master process: "php-fpm: master process (path/to/conf/file)"
The children processes: "php-fpm: pool www.foo.bar"
Test script:
---------------
#!/bin/sh
ps a | grep fpm
Expected result:
----------------
21744 pts/3 S+ 0:00 php-fpm: master process
(/usr/local/php-trunk/etc/php-
fpm.conf)
21745 pts/3 S+ 0:00 php-fpm: pool www_chroot
21746 pts/3 S+ 0:00 php-fpm: pool www_direct
Actual result:
--------------
23464 pts/3 S+ 0:00 ./sapi/fpm/php-fpm
23465 pts/3 S+ 0:00 ./sapi/fpm/php-fpm
23466 pts/3 S+ 0:00 ./sapi/fpm/php-fpm
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=52659&edit=1