php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #52659 change FPM processes title according to their type
Submitted: 2010-08-20 19:31 UTC Modified: 2010-08-20 19:33 UTC
From: fat@php.net Assigned:
Status: Not a bug Package: FPM related
PHP Version: 5.3.3 OS: *
Private report: No CVE-ID: None
 [2010-08-20 19:31 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-08-20 19:33 UTC] fat@php.net
-Status: Open +Status: Bogus
 [2010-08-20 19:33 UTC] fat@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 12:01:30 2024 UTC