I am using nginx as a load balancer I keep seeing the messages below. I
keep
uping the client_body_buffer_size, proxy_buffer_size and proxy_buffers
but
it doesn't seem to make a difference. What could be happening here?
2012/11/15 09:52:30 [warn] 6559#0: *46179 a client request body is
buffered
to a temporary file /var/cache/nginx/client_temp/0000002573, client:
10.196.3.134, server: loadbalancer.domain.net, request: "POST
/Order/OrderSubmission/OrderSubmission.svc HTTP/1.1", host:
"loadbalancer.domain.net"
upstream secure {
server node1.domain.net:443 weight=10 max_fails=3
fail_timeout=3s;
server node2.domain.net:443 weight=10 max_fails=3
fail_timeout=3s;
}
server {
listen 10.192.145.60:443;
ssl on;
ssl_certificate /etc/ssl/certs/cert.pem;
ssl_certificate_key /etc/ssl/certs/cert_priv_key_nopass.pem;
ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers RC4:HIGH:!aNULL:!MD5:!kEDH;
ssl_prefer_server_ciphers on;
server_name loadbalancer.hsz.eastbay.net;
access_log /var/log/nginx/lb.access.log main;
error_log /var/log/nginx/lb.error.log debug;
location / {
index index.html
proxy_buffering on
client_body_buffer_size 10m;
proxy_buffer_size 64k;
proxy_buffers 2048 64k;
proxy_set_header X-Forwarded-Proto https;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For
$proxy_add_x_forwarded_for;
proxy_max_temp_file_size 0;
proxy_pass https://secure;
} #end location
} #end server
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,232847,232847#msg-232847
on 2012-11-15 16:56
on 2012-11-15 18:00
Hello! On Thu, Nov 15, 2012 at 10:55:51AM -0500, tatroc wrote: > I am using nginx as a load balancer I keep seeing the messages below. I keep > uping the client_body_buffer_size, proxy_buffer_size and proxy_buffers but > it doesn't seem to make a difference. What could be happening here? > > > 2012/11/15 09:52:30 [warn] 6559#0: *46179 a client request body is buffered > to a temporary file /var/cache/nginx/client_temp/0000002573, client: > 10.196.3.134, server: loadbalancer.domain.net, request: "POST > /Order/OrderSubmission/OrderSubmission.svc HTTP/1.1", host: > "loadbalancer.domain.net" As long as request body size is greater than client_body_buffer_size, it will be buffered to disk and the above message will be shown. If you think you see the message on requests with body size less than client_body_buffer_size, you may want to provide more details as specified here: http://wiki.nginx.org/Debugging#Asking_for_help [...] -- Maxim Dounin http://nginx.com/support.html
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.