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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
24 + 36 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Wed May 08 00:01:31 2024 UTC