closed keepalive connection

Maxim Dounin mdounin at mdounin.ru
Thu Sep 8 11:34:57 UTC 2011


Hello!

On Thu, Sep 08, 2011 at 07:06:10AM -0400, liushaobo wrote:

> hi all
> nginx debug log the following problems,please help me

[...]

> # tail -f /var/log/nginx_error.log
> 
> 2011/09/08 15:38:10 [info] 19178#0: *5713577 client 112.64.188.183
> closed keepalive connection (104: Connection reset by peer)
> 2011/09/08 15:39:42 [info] 19175#0: *5729670 client 112.64.188.183
> closed keepalive connection (104: Connection reset by peer)

It's info message reporting that client closed keepalive 
connection, nothing more.  This may and will happen under normal 
use.

> 2011/09/08 15:44:10 [info] 19257#0: *1382 client closed prematurely
> connection while sending response to client, client: 112.64.188.183,
> server: static.test.com, request: "GET
> /apk/48/48598/com.dolphin.browser.cn.apk HTTP/1.1", host:
> "static.test.com"

This is another info message, reporting that client closed 
connection before nginx was able to send full response to it.  
This is normal as well and may happen e.g. if browser is closed or 
user navigated to another page.

If you don't see such mesages - just tune your error_log logging 
level to something less verbose.  Something like "notice" or 
"error" is usually a good choice for production.

Maxim Dounin



More information about the nginx mailing list