Welcome! Log In Create A New Profile

Advanced

Ideal setting of "fastcgi_buffers" with large files

June 05, 2009 01:12PM
Howdy,

For cases when large files are served via FastCGI, what might be the ideal settings for the "fastcgi_buffers" directive, in order to prevent the warning:
"an upstream response is buffered to a temporary file /usr/local/nginx/fastcgi_temp/0/00/0000000000 while reading upstream" ?

For example, to prevent the warning when serving a 6144 kilobyte file, which of the three methods would yield the best performance?

A large number of small buffers:
fastcgi_buffers 768 8k

A small number of large buffers:
fastcgi_buffers 8 768k

A near balance between the buffers and size:
fastcgi_buffers 64 96k


Or does it not matter which method is used?

Thanks for the help!
Subject Author Posted

Ideal setting of "fastcgi_buffers" with large files

w3wsrmn June 05, 2009 01:12PM

Re: Ideal setting of "fastcgi_buffers" with large files

rahul286 November 25, 2009 02:02AM

Re: Ideal setting of "fastcgi_buffers" with large files

Phillip Oldham December 03, 2009 03:44AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 107
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready