Welcome! Log In Create A New Profile

Advanced

Re: upstream sent too many data while reading

Maxim Dounin
October 10, 2011 03:26PM
Hello!

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;

Try using

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"
messages though.)

Maxim Dounin

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

upstream sent too many data while reading

codetr October 09, 2011 03:34AM

Re: upstream sent too many data while reading

Maxim Dounin October 09, 2011 04:44PM

Re: upstream sent too many data while reading

codetr October 09, 2011 06:47PM

Re: upstream sent too many data while reading

Maxim Dounin October 10, 2011 12:10PM

Re: upstream sent too many data while reading

codetr October 10, 2011 11:31AM

Re: upstream sent too many data while reading

codetr October 10, 2011 02:02PM

Re: upstream sent too many data while reading

Maxim Dounin October 10, 2011 02:32PM

Re: upstream sent too many data while reading

codetr October 10, 2011 03:09PM

Re: upstream sent too many data while reading

Maxim Dounin October 10, 2011 03:26PM

Re: upstream sent too many data while reading

codetr October 11, 2011 02:33AM

Re: upstream sent too many data while reading

codetr October 11, 2011 02:58AM

Re: upstream sent too many data while reading

Maxim Dounin October 11, 2011 02:44AM

Re: upstream sent too many data while reading

codetr October 13, 2011 07:26PM

Re: upstream sent too many data while reading

codetr October 16, 2011 04:33PM

Re: upstream sent too many data while reading

Maxim Dounin October 16, 2011 04:50PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 63
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready