|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patchesfpm_status.c.diff (last revision 2012-08-22 09:21 UTC by jasper at nerdsweide dot nl)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-09-27 23:26 UTC] fat@php.net
-Status: Open
+Status: Closed
[2012-09-27 23:26 UTC] fat@php.net
[2012-09-27 23:26 UTC] fat@php.net
[2012-09-27 23:26 UTC] fat@php.net
[2012-09-27 23:27 UTC] fat@php.net
-Assigned To:
+Assigned To: fat
[2012-09-27 23:27 UTC] fat@php.net
[2012-09-28 07:04 UTC] laruence@php.net
[2012-09-28 07:05 UTC] laruence@php.net
[2012-09-28 07:05 UTC] laruence@php.net
[2013-11-17 09:32 UTC] laruence@php.net
[2014-10-07 23:22 UTC] stas@php.net
[2014-10-07 23:22 UTC] stas@php.net
[2014-10-07 23:33 UTC] stas@php.net
[2014-10-07 23:33 UTC] stas@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 19:00:01 2025 UTC |
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".