You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Per Jessen <pe...@computer.org> on 2004/11/07 17:06:24 UTC
[users@httpd] looping "subrequested from r->uri = ...."
This is from my apache2.0.52 (with php438) error_log:
[Sat Nov 06 20:09:45 2004] [error] [client 213.234.118.231] Request exceeded the
limit of 10 subrequest nesting levels due to probable confguration error. Use
'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel
debug' to get a backtrace., referer: http://sitename/signin
[Sat Nov 06 20:09:45 2004] [debug] core.c(2748): [client 213.234.118.231] r->uri
= /footer, referer: http://sitename/signin
[Sat Nov 06 20:09:45 2004] [debug] core.c(2761): [client 213.234.118.231]
subrequested from r->uri = /footer.var, referer: http://sitename/signin
[Sat Nov 06 20:09:45 2004] [debug] core.c(2761): [client 213.234.118.231]
subrequested from r->uri = /footer, referer: http://sitename/signin
[Sat Nov 06 20:09:45 2004] [debug] core.c(2761): [client 213.234.118.231]
subrequested from r->uri = /footer.var, referer: http://sitename/signin
[Sat Nov 06 20:09:45 2004] [debug] core.c(2761): [client 213.234.118.231]
subrequested from r->uri = /footer, referer: http://sitename/signin
[Sat Nov 06 20:09:45 2004] [debug] core.c(2761): [client 213.234.118.231]
subrequested from r->uri = /footer.var, referer: http://sitename/signin
[Sat Nov 06 20:09:45 2004] [debug] core.c(2761): [client 213.234.118.231]
subrequested from r->uri = /footer, referer: http://sitename/signin
[Sat Nov 06 20:09:45 2004] [debug] core.c(2761): [client 213.234.118.231]
subrequested from r->uri = /footer.var, referer: http://sitename/signin
a total of 1,356,635 lines of the same kind. Total error log ~ 200M full of
this.
This doesn't happen everytime someone hits /signin, only very occasionally. And
it's not very reproducable.
/signin becomes /signin.phtml.xx (xx=language) mapped through signin.var, then
includes /footer which becomes footer.phtml.xx mapped through footer.var.
Generally this works fine. I could always go to "LogLevel info", but I'd like
to understand what's going on here.
Can anyone help shed some light on this?
--
Per Jessen, Zurich
Let your spam stop here -- http://www.spamchek.com
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Re: looping "subrequested from r->uri = ...."
Posted by Joshua Slive <js...@gmail.com>.
On Mon, 08 Nov 2004 10:38:34 +0100, Per Jessen <pe...@computer.org> wrote:
> Currently I only have footer.phtml.en and footer.phtml.de - might lack of
> the .da and .fr versions produce the situation I described?
That's certainly a possibility, especially if you have an
ErrorDocument using this footer. And it certainly isn't a good idea
to have non-existing variants listed.
But why don't you test it yourself?
Joshua.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
[users@httpd] Re: looping "subrequested from r->uri = ...."
Posted by Per Jessen <pe...@computer.org>.
Joshua Slive wrote:
> Likely an edge case in footer.var. It looks like footer.var sometimes
> returns footer as the best match, which of course triggers a call to
> footer.var, hence creating a loop.
>
> Look carefully at footer.var and make sure it handles edge cases like
> no Accept-Language header, etc.
Thanks Joshua.
My vhost definition has:
LanguagePriority en de fr da
ForceLanguagePriority Prefer Fallback
My footer.var:
URI: footer
URI: footer.phtml.en
Content-Language: en
Content-type: text/html; charset=UTF-8
URI: footer.phtml.da
Content-Language: da
Content-type: text/html; charset=UTF-8
URI: footer.phtml.de
Content-Language: de
Content-type: text/html; charset=UTF-8
URI: footer.phtml.fr
Content-Language: fr
Content-type: text/html; charset=UTF-8
Currently I only have footer.phtml.en and footer.phtml.de - might lack of
the .da and .fr versions produce the situation I described?
--
Per Jessen, Zurich
Let your spam stop here -- http://www.spamchek.com
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] looping "subrequested from r->uri = ...."
Posted by Joshua Slive <js...@gmail.com>.
On Sun, 07 Nov 2004 17:06:24 +0100, Per Jessen <pe...@computer.org> wrote:
> This is from my apache2.0.52 (with php438) error_log:
>
> [Sat Nov 06 20:09:45 2004] [error] [client 213.234.118.231] Request exceeded the
> limit of 10 subrequest nesting levels due to probable confguration error. Use
> 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel
> debug' to get a backtrace., referer: http://sitename/signin
> [Sat Nov 06 20:09:45 2004] [debug] core.c(2748): [client 213.234.118.231] r->uri
> = /footer, referer: http://sitename/signin
> [Sat Nov 06 20:09:45 2004] [debug] core.c(2761): [client 213.234.118.231]
> subrequested from r->uri = /footer.var, referer: http://sitename/signin
Likely an edge case in footer.var. It looks like footer.var sometimes
returns footer as the best match, which of course triggers a call to
footer.var, hence creating a loop.
Look carefully at footer.var and make sure it handles edge cases like
no Accept-Language header, etc.
Joshua.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org