Req #53434 [Asn->Ana]: More details for slow requests
| From: | fat@php.net | Date: | Mon, 06 Dec 2010 08:26:15 +0000 |
| Subject: | Req #53434 [Asn->Ana]: More details for slow requests | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-156776@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
Updated by: fat@php.net
Reported by: webmaster_apc at colnect dot com
Summary: More details for slow requests
-Status: Assigned
+Status: Analyzed
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:
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.
Previous Comments:
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
[2010-12-06 09:21:42] webmaster_apc at colnect dot com
I have more messages in the slow log indicated the script which was
running at the time but NOT the HTTP request send. For example:
[0x00007f38694a0b78] flush()
/var/xxx/lib/misc/scriptControl.class.php:15
[0x00007f38694a03c8] set_time_limit()
/var/xxx/apps/modules/repairs/actions/actions.class.php:68
[0x00007f386949fd00] executeRecreateThumbnails()
/var/xxx/cache/prod/config/config_core_compile.yml.php:490
[0x00007f386949fa30] execute()
/var/xxx/cache/prod/config/config_core_compile.yml.php:990
[0x00007f386949f6d8] executeAction()
/var/xxx/cache/prod/config/config_core_compile.yml.php:985
[0x00007f386949ef80] handleAction()
/var/xxx/cache/prod/config/config_core_compile.yml.php:971
[0x00007f386949ea68] execute()
/var/xxx/cache/prod/config/config_core_compile.yml.php:1066
[0x00007f386949e400] execute()
/var/xxx/lib/vendor/symfony/lib/filter/sfCommonFilter.class.php:29
[0x00007f386949dee8] execute()
/var/xxx/cache/prod/config/config_core_compile.yml.php:1066
[0x00007f386949db98] execute()
/var/xxx/apps/lib/extraSecurityFilter.class.php:31
[0x00007f386949d680] execute()
/var/xxx/cache/prod/config/config_core_compile.yml.php:1066
[0x00007f386949d3e0] execute()
/var/xxx/cache/prod/config/config_core_compile.yml.php:1033
I don't know how to include my configuration. The output of ./configure
is too long to be pasted here.
------------------------------------------------------------------------
[2010-12-06 09:06:16] fat@php.net
What do you have in the file specified by the directive 'slowlog' ?
can you please give your configuration ?
------------------------------------------------------------------------
[2010-12-06 00:39:48] webmaster_apc at colnect dot com
When I try to include the entire output here I get a "Please do not SPAM
our bug system." message and I see no place to add an attachment (should
I add it as a patch?!).
ptrace is found and responding well
------------------------------------------------------------------------
[2010-12-02 09:21:46] fat@php.net
I need the output of the ./configure, not its arguments.
------------------------------------------------------------------------
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