Closed keepalive connection

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

nginx config

user www www;
worker_processes 8;
worker_cpu_affinity 00000001 00000010 00000100 00001000 00010000
00100000 01000000 10000000;
worker_rlimit_nofile 65535;

#error_log /var/log/nginx_error.log crit;
error_log /var/log/nginx_error.log debug;

pid /var/run/nginx.pid;

events {
worker_connections 65535;
use epoll;
}

http {
include /etc/nginx/mime.types;
default_type application/octet-stream;

sendfile        on;
tcp_nopush      on;
tcp_nodelay     on;
server_tokens   off;
charset utf8;

server_names_hash_bucket_size 128;
client_header_buffer_size 32k;
large_client_header_buffers 4 32k;
client_max_body_size 150m;

gzip            on;
gzip_comp_level 2;
gzip_min_length 1024;
gzip_buffers    4 16k;
gzip_http_version 1.0;
gzip_types      text/plain application/x-javascript text/css

application/xml;
gzip_vary on;

fastcgi_connect_timeout 300;
fastcgi_send_timeout 300;
fastcgi_read_timeout 300;
fastcgi_buffer_size 64k;
fastcgi_buffers 4 64k;
fastcgi_busy_buffers_size 128k;
fastcgi_temp_file_write_size 128k;
proxy_intercept_errors on;
proxy_ignore_client_abort on;
fastcgi_intercept_errors on;

keepalive_timeout  120;
limit_zone   one  $binary_remote_addr  10m;

include /etc/nginx/conf.d/*.conf;

error_log /var/log/nginx_error.log debug;

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)
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
2011/09/08 15:45:06 [info] 19261#0: *2100 client 112.64.188.183 closed
keepalive connection (104: Connection reset by peer)

Posted at Nginx Forum:

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 D.

do you slove it?
can you help me?
my E-mail is [email protected];
Thank you!

Posted at Nginx Forum:

Hello!

On Fri, Feb 28, 2014 at 06:24:38AM -0500, kisa1234 wrote:

do you slove it?
can you help me?
my E-mail is [email protected];
Thank you!

This is not a problem to solve, it’s just information messages
logged by nginx. If it’s too verbose for you, consider tuning
error_log logging level, see Core functionality.


Maxim D.
http://nginx.org/