php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #52660 change FPM processes title according to their type
Submitted: 2010-08-20 19:32 UTC Modified: 2010-11-12 01:31 UTC
Votes:3
Avg. Score:4.7 ± 0.5
Reproduced:3 of 3 (100.0%)
Same Version:3 (100.0%)
Same OS:3 (100.0%)
From: fat@php.net Assigned: fat (profile)
Status: Closed Package: FPM related
PHP Version: 5.3.3 OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: fat@php.net
New email:
PHP Version: OS:

 

 [2010-08-20 19:32 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

fpm-proctitle.v2.patch (last revision 2010-08-20 17:32 UTC) by fat)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-08-20 19:34 UTC] fat@php.net
-Status: Open +Status: Analyzed -Assigned To: +Assigned To: fat
 [2010-11-12 01:30 UTC] 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-11-12 01:31 UTC] fat@php.net
-Status: Analyzed +Status: Closed
 [2010-11-12 01:31 UTC] fat@php.net
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.


 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC