Bug #62887 [Csd]: Only /status?plain&full gives "last request cpu"

From: Date: Thu, 27 Sep 2012 23:27:21 +0000
Subject: Bug #62887 [Csd]: Only /status?plain&full gives "last request cpu"
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-173761@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=62887&edit=1 ID: 62887 Updated by: fat@php.net Reported by: jasper at nerdsweide dot nl Summary: Only /status?plain&full gives "last request cpu" Status: Closed Type: Bug Package: FPM related Operating System: OS X 10.8 (build 12A269) PHP Version: 5.3.16 -Assigned To: +Assigned To: fat Block user comment: N Private report: N New Comment: The fix for this bug has been committed. 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/. For Windows: http://windows.php.net/snapshots/ Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2012-09-27 23:26:32] fat@php.net Automatic comment on behalf of fat Revision: http://git.php.net/?p=php-src.git;a=commit;h=68eb608f3c639b2f03304e5794cd99f1074b67c0 Log: - Fixed bug #62887 (Only /status?plain&amp;full gives &quot;last request cpu&quot;) ------------------------------------------------------------------------ [2012-09-27 23:26:31] fat@php.net Automatic comment on behalf of fat Revision: http://git.php.net/?p=php-src.git;a=commit;h=9ef925b3519e5b1a54b930035f347e4d0f61a210 Log: - Fixed bug #62887 (Only /status?plain&amp;full gives &quot;last request cpu&quot;) ------------------------------------------------------------------------ [2012-09-27 23:26:30] fat@php.net Automatic comment on behalf of fat Revision: http://git.php.net/?p=php-src.git;a=commit;h=151b16cf7ff6ddbf2e11932949aaa2ecb0f22724 Log: - Fixed bug #62887 (Only /status?plain&amp;full gives &quot;last request cpu&quot;) ------------------------------------------------------------------------ [2012-08-22 09:17:06] jasper at nerdsweide dot nl Description: ------------ The following status calls don't display the "last request cpu" information: /status?html&full /status?json&full /status?html&full Only /status?plain&full includes the "last request cpu", but it is always 0. I tracked this down to the file sapi/fpm/fpm/fpm_status.c On line 346 this: #ifdef HAVE_FPM_LQ should be: #if HAVE_FPM_LQ But this will also remove "last request cpu" from format "plain" in my case. As far as I understand it has something to do with <netinet/tcp.h> not supporting "tcp_info" in my system. But I do have a /usr/include/netinet/tcp.h Expected result: ---------------- To see "last request cpu" when using formats "html", "json" and "xml". And to see a valid value (in stead of 0) when using format "plain". Actual result: -------------- Not seeing "last request cpu" when using formats "html", "json" and "xml". Always seeing 0 (in stead of a valid value) when using format "plain". ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=62887&edit=1

« previous php.bugs (#173761) next »