Edit report at http://bugs.php.net/bug.php?id=52660&edit=1

 ID:                 52660
 Updated by:         f...@php.net
 Reported by:        f...@php.net
 Summary:            change FPM processes title according to their type
-Status:             Open
+Status:             Analyzed
 Type:               Feature/Change Request
 Package:            FPM related
 Operating System:   *
 PHP Version:        5.3.3
-Assigned To:        
+Assigned To:        fat
 Block user comment: N



Previous Comments:
------------------------------------------------------------------------
[2010-08-20 19:32:08] f...@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

Reply via email to