Req #53434 [Csd]: More details for slow requests
| From: | webmaster_apc at colnect dot com | Date: | Sat, 29 Jan 2011 11:48:42 +0000 |
| Subject: | Req #53434 [Csd]: More details for slow requests | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-158311@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=53434&edit=1
ID: 53434
User updated by: webmaster_apc at colnect dot com
Reported by: webmaster_apc at colnect dot com
Summary: More details for slow requests
Status: Closed
Type: Feature/Change Request
Package: FPM related
Operating System: gentoo linux
PHP Version: 5.3.1RC1
Assigned To: fat
Block user comment: N
Private report: N
New Comment:
Thanks for the fix :) I'll be happy to see it when the next PHP version
is released on Gentoo. Cheers
Previous Comments:
------------------------------------------------------------------------
[2011-01-29 12:43:45] fat@php.net
This bug has been fixed in SVN.
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/.
Thank you for the report, and for helping us make PHP better.
I've added the request method and the request uri in the slowlog timeout
and
slowlog terminated log message:
[29-Jan-2011 12:41:59.741208] WARNING: pid 32110,
fpm_request_check_timed_out(),
line 147: [pool www_chroot] child 32111, script '/html/test8.php'
(request: "GET
/chroot/test8.php") executing too slow (1.051049 sec), logging
[29-Jan-2011 12:42:00.783410] WARNING: pid 32110,
fpm_request_check_timed_out(),
line 157: [pool www_chroot] child 32111, script '/html/test8.php'
(request: "GET
/chroot/test8.php") execution timed out (2.092626 sec), terminating
------------------------------------------------------------------------
[2011-01-29 12:41:47] fat@php.net
Automatic comment from SVN on behalf of fat
Revision: http://svn.php.net/viewvc/?view=revision&revision=307843
Log: - Fixed bug #53434 (php-fpm slowlog now also logs the original
request).
- Fixed the missing peace of code on revision 307842
------------------------------------------------------------------------
[2011-01-29 12:38:21] fat@php.net
Automatic comment from SVN on behalf of fat
Revision: http://svn.php.net/viewvc/?view=revision&revision=307842
Log: - Fixed bug #53434 (php-fpm slowlog now also logs the original
request).
------------------------------------------------------------------------
[2010-12-06 09:26:15] fat@php.net
Oh hell yes ... I did not understand your need.
I'll see how complicated this is to add the request which triggers the
slowlog
entries.
------------------------------------------------------------------------
[2010-12-06 09:25:40] webmaster_apc at colnect dot com
This may help. In the normal log I get:
Dec 06 08:03:36.147792 [WARNING] [pool www] child 23560, script
'/var/xxx/web/index.php' executing too slow (30.069499 sec), logging
Dec 06 08:03:36.147904 [NOTICE] child 23560 stopped for tracing
Dec 06 08:03:36.147911 [NOTICE] about to trace 23560
Dec 06 08:03:36.148064 [ERROR] ptrace(PEEKDATA) failed: Input/output
error (5)
Dec 06 08:03:36.148127 [NOTICE] finished trace of 23560
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/bug.php?id=53434
--
Edit this bug report at http://bugs.php.net/bug.php?id=53434&edit=1