5 messages in ru.sysoev.nginxRe: Unsure about proxy_temp_file_writ...
FromSent OnAttachments
Dave CheneyJan 28, 2008 7:27 pm 
Maxim DouninJan 29, 2008 3:24 am 
Dave CheneyJan 29, 2008 4:10 am 
Maxim DouninJan 29, 2008 5:43 am 
ThomasJul 4, 2008 1:03 pm 
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: Unsure about proxy_temp_file_write_size to prevent upstream response bufferingActions...
From:Maxim Dounin (mdou@public.gmane.org)
Date:Jan 29, 2008 5:43:48 am
List:ru.sysoev.nginx

Hello!

On Tue, Jan 29, 2008 at 11:11:05PM +1100, Dave Cheney wrote:

Hi Maxim,

Thanks for your response, I've set my proxy directives to

proxy_buffering on; proxy_buffer_size 4k; -proxy_buffers 4 32k; +proxy_buffers 8 32k;

Which I'm guessing has 256k of buffering capacity, is that correct?

With this settings nginx should be able to buffer up to 260k (4k + 8*32k) of upstream response in memory. This number includes length of headers returned by upstream.