client request body is buffered to a temporary file

tatroc nginx-forum at nginx.us
Thu Nov 15 15:55:51 UTC 2012


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



More information about the nginx mailing list