Nginx error: an upstream response is buffered to a temporary file

This morning I was faced with a 404 not found page when attempting to login to the Install Nginx on Ubuntu blog.

2012/02/13 15:06:08 [warn] 21936#0: *12 an upstream response is buffered to a temporary file /var/lib/nginx/fastcgi/3/00/0000000003 while reading upstream, client: 99.250.236.245, server: installnginxonubuntu.com, request: "GET /wp-admin/load-scripts.php?c=0&load=admin-bar,hoverIntent,common,jquery-color,wp-ajax-response,wp-lists,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,postbox,thickbox,plugin-install&ver=c1f86f5c0f25cc2c1f94e898b9db8a7d HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "installnginxonubuntu.com", referrer: "http://installnginxonubuntu.com/wp-admin/plugins.php"

This is not a huge issue, just something I overlooked when setting up Nginx on this host.

Increasing fastcgi_buffer_size and fastcgi_buffers will fix this.

File excerpt: /etc/nginx/conf.d/installnginxonubuntu.com.conf

server {
    ...
    fastcgi_buffer_size 4K;
    fastcgi_buffers 64 4k;
    ...
}
VN:F [1.9.22_1171]
Rating: 5.0/5 (1 vote cast)
Nginx error: an upstream response is buffered to a temporary file, 5.0 out of 5 based on 1 rating

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>