Welcome! Log In Create A New Profile

Advanced

Re: An upstream response is buffered to a temporary file

October 26, 2011 01:50AM
For time_wait issue., pls try keepalive enable if it act as proxy.

2011/10/22, Ilan Berkner <ilan@time4learning.com>:
> Thanks,
>
> I increased the fastcgi_buffers as follows:
>
> fastcgi_buffers 256 4k;
>
> and that took care of this problem.
>
> Another problem I'm trying to deal with is:
>
> netstat -an|awk '/tcp/ {print $6}'|sort|uniq -c
> 12 CLOSING
> 1176 ESTABLISHED
> 58 FIN_WAIT1
> 218 FIN_WAIT2
> 23 LAST_ACK
> 43 LISTEN
> 91 SYN_RECV
> 3606 TIME_WAIT
>
> I'm trying to understand why there are so many connections in TIME_WAIT
> status. Any ideas on how to research this issue?
>
> On Fri, Oct 21, 2011 at 3:44 PM, Maxim Dounin <mdounin@mdounin.ru> wrote:
>
>> Hello!
>>
>> On Fri, Oct 21, 2011 at 03:36:23PM -0400, iberkner wrote:
>>
>> > What settings / parameters can be tweaked to increase the amount of
>> > buffers available as to not go to a temporary file?
>> >
>> > We are seeing many of these:
>> >
>> > 2011/10/21 14:01:24 [warn] 24547#0: *2408454 an upstream response is
>> > buffered to a temporary file /var/lib/nginx/fastcgi/5/69/0000017695
>> > while reading upstream, client: 1.1.1.1, server: www.someserver.com,
>> > request: "GET /edit.html?id=6816841 HTTP/1.1", upstream:
>> > "fastcgi://192.168.1.5:9000", host: "www.someserver.com", referrer:
>> > "http://www.someserver.com/c.html"
>> >
>> > I tried messing around with proxy_buffer settings, but not sure if I'm
>> > on the right track.
>>
>> This is a warning message which is here to let you know that
>> response was buffered to disk. Depending on your use case you may
>> want either to tune fastcgi_buffers/fastcgi_buffer_size, or disable
>> disk buffering with "fastcgi_max_temp_file 0", or just ignore this
>> warning.
>>
>> Maxim Dounin
>>
>> _______________________________________________
>> nginx mailing list
>> nginx@nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx
>>
>
>
>
> --
>
> Ilan Berkner
> Chief Technology Officer
> Time4Learning.com
>
> 6300 NE 1st Ave., Suite 203
> Ft. Lauderdale, FL 33334
> (954) 771-0914
>
> http://www.twitter.com/time4learning
> http://www.facebook.com/Time4Learning
>
>
> Time4Learning.com - Online interactive curriculum for home use, PreK-8th
> Grade.
> Time4Writing.com - Online writing tutorials for high, middle, and elementary
> school students.
> Time4Learning.net - A forum to chat with parents online about kids,
> education, parenting and more.
> spellingcity.com - Online vocabulary and spelling activities for teachers,
> parents and students.
>

--
从我的移动设备发送

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

An upstream response is buffered to a temporary file

iberkner October 21, 2011 03:36PM

Re: An upstream response is buffered to a temporary file

Maxim Dounin October 21, 2011 03:46PM

Re: An upstream response is buffered to a temporary file

Ilan Berkner October 21, 2011 04:04PM

Re: An upstream response is buffered to a temporary file

Ilan Berkner October 21, 2011 04:12PM

Re: An upstream response is buffered to a temporary file

nexthop October 26, 2011 01:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 177
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready