Return-Path: Delivered-To: apmail-jakarta-httpclient-dev-archive@www.apache.org Received: (qmail 81168 invoked from network); 17 Mar 2006 15:28:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Mar 2006 15:28:08 -0000 Received: (qmail 93445 invoked by uid 500); 17 Mar 2006 15:27:57 -0000 Delivered-To: apmail-jakarta-httpclient-dev-archive@jakarta.apache.org Received: (qmail 93340 invoked by uid 500); 17 Mar 2006 15:27:57 -0000 Mailing-List: contact httpclient-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "HttpClient Project" Reply-To: "HttpClient Project" Delivered-To: mailing list httpclient-dev@jakarta.apache.org Received: (qmail 93290 invoked by uid 99); 17 Mar 2006 15:27:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Mar 2006 07:27:57 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Mar 2006 07:27:55 -0800 Received: by ajax.apache.org (Postfix, from userid 65534) id D993F6ACA9; Fri, 17 Mar 2006 15:27:34 +0000 (GMT) From: bugzilla@apache.org To: httpclient-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 39014] - HTTP Client 3.0 doesn't close sockets In-Reply-To: X-Bugzilla-Reason: AssignedTo Message-Id: <20060317152734.D993F6ACA9@ajax.apache.org> Date: Fri, 17 Mar 2006 15:27:34 +0000 (GMT) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39014 ------- Additional Comments From odi@odi.ch 2006-03-17 15:27 ------- HttpClient fully supports persistent connections as defined per section 8.1 of RFC 2616. The connection pool implementation is responsbile for closing physical connections when they become stale. I guess your application does not profit of connection pooling as it never hits the same host twice. So open connections keep accumulating in the pool. Thus you should disable the pooling by the measures outlined earlier. A different very simple solution is to use the MultithreadedConnectionManager which supports setting a limit via its setMaxTotalConnections method. If none of those suggestions meet your needs you can always implement your own connection manager. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org