Req #52660 [NEW]: change FPM processes title according to their type
| From: | fat@php.net | Date: | Fri, 20 Aug 2010 17:32:08 +0000 |
| Subject: | Req #52660 [NEW]: change FPM processes title according to their type | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-153669@lists.php.net to get a copy of this message | ||
From: fat
Operating system: *
PHP version: 5.3.3
Package: FPM related
Bug Type: Feature/Change Request
Bug description:change FPM processes title according to their type
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 bug report at http://bugs.php.net/bug.php?id=52660&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=52660&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=52660&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=52660&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=52660&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=52660&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=52660&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=52660&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=52660&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=52660&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=52660&r=support
Expected behavior: http://bugs.php.net/fix.php?id=52660&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=52660&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=52660&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=52660&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=52660&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=52660&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=52660&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=52660&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=52660&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=52660&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=52660&r=mysqlcfg