upstream sent too many data while reading
mdounin at mdounin.ru
Mon Oct 10 19:24:34 UTC 2011
On Mon, Oct 10, 2011 at 03:09:07PM -0400, codetr wrote:
> nginx closes every night; I could not find the cause ..
> my nginx.conf
> user nobody;
> # no need for more workers in the proxy mode
> worker_processes 4;
> error_log /var/log/nginx/error.log;
error_log /var/log/nginx/error.log notice;
here, it will instruct nginx to log at "notice" level. This
includes system events like controlling signal. I.e. on getting
SIGINT nginx will log something like this:
2011/10/10 23:19:32 [notice] 24178#0: signal 2 (SIGINT) received, exiting
2011/10/10 23:19:32 [notice] 24178#0: exit
I suspect the cause is some broken log-rotation script which kills
nginx instead of instructing it to reopen logs.
(This is completely unrelated to "upstream sent too many data"
More information about the nginx