Req #62951 [ReO]: Log utime and stime
Edit report at https://bugs.php.net/bug.php?id=62951&edit=1
ID: 62951
Updated by: bukka@php.net
Reported by: rainer-phpbugs at 7val dot com
Summary: Log utime and stime
Status: Re-Opened
Type: Feature/Change Request
Package: FPM related
PHP Version: 5.3.16
-Assigned To:
+Assigned To: bukka
Block user comment: N
Private report: N
New Comment:
Apology for very long time of no response. I have been looking into this and it might not be the
best idea in the current architecture as it would leak info about usage in other pools and master
process if multiple pools are used. Access log is pool specific so we need to respect the separation
there.
I have finally created an issue for introduction of pool manager which is something that is planned
for a long time: https://github.com/php/php-src/issues/11723 .
I also added a note about this issue there.
Previous Comments:
------------------------------------------------------------------------
[2013-02-18 00:35:59] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
------------------------------------------------------------------------
[2012-09-27 14:57:22] rainer-phpbugs at 7val dot com
I've missed the bit in fpm_log.c, since I didn't want to include my changes that cause
tms_total to always be in 1/1000 seconds. The updated Patch includes this change.
------------------------------------------------------------------------
[2012-09-27 14:33:32] fat@php.net
the patch does not seem to be complete. There's a missing part: how the log is
handle ?
------------------------------------------------------------------------
[2012-08-27 14:13:19] rainer-phpbugs at 7val dot com
Description:
------------
To identify performance bottlenecks in our shared hosting environment, it is desirable to log the
utime and stime consumed for each request. The current %{system}C and %{user}C just log the relative
CPU-Usage percentage, not the absolute time used.
the patch below adds %(rsystem}C and %{ruser}C to the logformat options, measured in milliseconds
via getrusage();
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62951&edit=1
Thread (6 messages)