# Closed keepalive connection

**URL:** <https://www.ruby-forum.com/t/closed-keepalive-connection/167042>\
**Category:** NGINX\
**Created:** [May 2, 2009, 6:39pm UTC](https://www.ruby-forum.com/t/closed-keepalive-connection/167042 "2009-05-02T18:39:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AMP\_Admin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/3ab097/32.png) [@AMP\_Admin](https://www.ruby-forum.com/u/AMP_Admin)\
**Post date:** [May 2, 2009, 6:39pm UTC](https://www.ruby-forum.com/t/closed-keepalive-connection/167042/1 "2009-05-02T18:39:16Z")

</div>

I just can’t seem to get rid of my logs filling up with ‘closed  
keepalive  
connection’.

Thoughts?

---

<div class="post-metadata">

**Author:** ![AMP\_Admin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/3ab097/32.png) [@AMP\_Admin](https://www.ruby-forum.com/u/AMP_Admin)\
**Post date:** [May 2, 2009, 6:51pm UTC](https://www.ruby-forum.com/t/closed-keepalive-connection/167042/2 "2009-05-02T18:51:33Z")

</div>

On Sat, May 02, 2009 at 11:31:10AM -0500, AMP Admin wrote:

> I just can’t seem to get rid of my logs filling up with ‘closed keepalive  
> connection’.

error\_log /path/to/log notice;

---

<div class="post-metadata">

**Author:** ![AMP\_Admin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/3ab097/32.png) [@AMP\_Admin](https://www.ruby-forum.com/u/AMP_Admin)\
**Post date:** [May 2, 2009, 10:19pm UTC](https://www.ruby-forum.com/t/closed-keepalive-connection/167042/3 "2009-05-02T22:19:07Z")

</div>

Omg… is my face read. I had it set to debug. LOL

---

<div class="post-metadata">

**Author:** ![AMP\_Admin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/3ab097/32.png) [@AMP\_Admin](https://www.ruby-forum.com/u/AMP_Admin)\
**Post date:** [September 9, 2011, 7:04am UTC](https://www.ruby-forum.com/t/closed-keepalive-connection/167042/4 "2011-09-09T07:04:17Z")

</div>

hi all

Modify nginx.conf

error\_log /data0/logs/nginx\_error.log notice;  
#error\_log /data0/logs/nginx\_error.log debug;

log are as follows

web download normal  
wifi download normal  
mobile 3G (WCDMA) download frequently interrupted

2011/09/08 19:54:49 [info] 20098#0: \*1137837 client closed prematurely  
connection while reading client request line, client: 59.108.246.154,  
server: [static.nduoa.com](http://static.nduoa.com)  
2011/09/08 19:54:49 [info] 20098#0: \*1137838 client closed prematurely  
connection while reading client request line, client: 59.108.246.154,  
server: [static.nduoa.com](http://static.nduoa.com)  
2011/09/08 19:54:49 [info] 20099#0: \*1130906 client closed prematurely  
connection while sending response to client, client: 120.196.170.2,  
server: [static.nduoa.com](http://static.nduoa.com), request: “GET /apk/22/22881/com.popcap.pvz.apk  
HTTP/1.1”, host: “[static.nduoa.com](http://static.nduoa.com)”

Posted at Nginx Forum:

> **[Re: closed keepalive connection](https://forum.nginx.org/read.php?2,1680,214977#msg-214977)**
>
> I just can't seem to get rid of my logs filling up with 'closed keepalive connection'. Thoughts?
