Req #52660 [Ana->Csd]: change FPM processes title according to their type
| From: | fat@php.net | Date: | Fri, 12 Nov 2010 00:31:45 +0000 |
| Subject: | Req #52660 [Ana->Csd]: change FPM processes title according to their type | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-155961@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52660&edit=1
ID: 52660
Updated by: fat@php.net
Reported by: fat@php.net
Summary: change FPM processes title according to their type
-Status: Analyzed
+Status: Closed
Type: Feature/Change Request
Package: FPM related
Operating System: *
PHP Version: 5.3.3
Assigned To: fat
Block user comment: N
New Comment:
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2010-11-12 01:30:37] fat@php.net
Automatic comment from SVN on behalf of fat
Revision: http://svn.php.net/viewvc/?view=revision&revision=305287
Log: - Fixed #52660 (custom process title for FPM)
------------------------------------------------------------------------
[2010-08-20 19:32:08] 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=52660&edit=1