upstream sent more data than specified in "Content-Length" header while reading upstream
September 14, 2014 07:02PM
Hi

I am using nginx in front of Apache and i got this error on error log on nginx :

upstream sent more data than specified in "Content-Length" header while reading upstream

How can i fix this?
I tried turning proxy_buffering off and that took that message away. However, I am seeing more of "upstream prematurely closed connection while sending to client" errors. Am I correct in thinking that the upstream cuts off the connection longer because it synchronously interacts with the client? Is there a way to simply ignore this warning in the logging to save io? The reason is that I don't think this warning is a serious one since I don't see the buffers running out and writing to disk.

Thank you in advance
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 153
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