5 messages in ru.sysoev.nginxRe: large SSI inclusions are truncated
FromSent OnAttachments
Evan MillerJun 8, 2007 1:14 am 
Igor SysoevJun 8, 2007 8:12 am 
Evan MillerJun 8, 2007 10:36 am 
Igor SysoevJun 16, 2007 2:38 am.txt
Evan MillerJun 16, 2007 9:58 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: large SSI inclusions are truncatedActions...
From:Evan Miller (emmi@public.gmane.org)
Date:Jun 8, 2007 10:36:51 am
List:ru.sysoev.nginx

Igor Sysoev wrote:

On Fri, Jun 08, 2007 at 08:14:36AM +0000, Evan Miller wrote:

I find that files included in an SSI are truncated when:

* the inclusion is retrieved from an upstream subrequest * the response to the subrequest is buffered to a file * the response to the subrequest is over about 100KB

I am using nginx 0.5.24. It works fine when I set "proxy_max_temp_file_size 0;".

I can post a debug log if no one can reproduce the problem.

Please, send me debug log.

Here's the debug log:

http://www.riceonfire.org/emiller/error.log

This seems to happen most often (only?) after a SIGHUP.

evanm@tim:~ nginx -V nginx version: nginx/0.5.24 built by gcc 4.1.2 (Ubuntu 4.1.2-0ubuntu4) configure arguments: --with-debug

Here's what I did:

evanm@tim:~ sudo rm /usr/local/nginx/logs/error.log evanm@tim:~ sudo pkill -HUP nginx evanm@tim:~ wget http://localhost/static/test.html

Here's the contents of test.html:

<!--# include virtual="/guide2.html" -->

The upstream is an Apache serving a static file.

Thanks!

Evan