Edit report at https://bugs.php.net/bug.php?id=62887&edit=1
ID: 62887 Updated by: [email protected] Reported by: jasper at nerdsweide dot nl Summary: Only /status?plain&full gives "last request cpu" -Status: Open +Status: Closed Type: Bug Package: FPM related Operating System: OS X 10.8 (build 12A269) PHP Version: 5.3.16 Block user comment: N Private report: N New Comment: 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&full gives "last request cpu") Previous Comments: ------------------------------------------------------------------------ [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
