Return-Path: Delivered-To: apmail-jakarta-httpclient-user-archive@www.apache.org Received: (qmail 3408 invoked from network); 20 Jul 2006 19:23:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Jul 2006 19:23:57 -0000 Received: (qmail 58205 invoked by uid 500); 20 Jul 2006 15:18:20 -0000 Delivered-To: apmail-jakarta-httpclient-user-archive@jakarta.apache.org Received: (qmail 58178 invoked by uid 500); 20 Jul 2006 15:18:19 -0000 Mailing-List: contact httpclient-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: "HttpClient User Discussion" Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-user@jakarta.apache.org Received: (qmail 58132 invoked by uid 99); 20 Jul 2006 15:18:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jul 2006 08:18:19 -0700 X-ASF-Spam-Status: No, hits=2.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [217.32.164.138] (HELO smtp3.smtp.bt.com) (217.32.164.138) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jul 2006 08:18:17 -0700 Received: from i2kc08-ukbr.domain1.systemhost.net ([193.113.197.71]) by smtp3.smtp.bt.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 20 Jul 2006 16:17:53 +0100 Received: from I2KM11-UKBR.domain1.systemhost.net ([193.113.197.28]) by i2kc08-ukbr.domain1.systemhost.net with Microsoft SMTPSVC(6.0.3790.211); Thu, 20 Jul 2006 16:20:23 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Too many files open under heavy load Date: Thu, 20 Jul 2006 16:17:44 +0100 Message-ID: <91A1302378CDCE41A2B8229D0BA7E5D5075E7401@I2KM11-UKBR.domain1.systemhost.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Too many files open under heavy load Thread-Index: AcarXhRwtceYxiHtQ5eNoyW5Hp/bUgAr/z7Q From: To: X-OriginalArrivalTime: 20 Jul 2006 15:20:23.0992 (UTC) FILETIME=[0597B380:01C6AC10] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Roland, I have managed to get it to work by forcing the connections to close. I used code posted by Oleg a while ago: - public class MyHttpConnectionManager extends MultiThreadedHttpConnectionManager { public void releaseConnection(final HttpConnection conn) { if (conn =3D=3D null) { return; } conn.close(); super.releaseConnection(conn); } =20 }=20 I'm still not sure why it didn't work the other way, but this seems to work with little-to-no performance degradation. I am using the standard JSSE (using the guide here http://jakarta.apache.org/commons/httpclient/sslguide.html ) We had tried a few including JSSE without HttpClient and Weblogic before we settled on using HttpClient with JSSE. =20 Thanks again for your help. All the best, Ash > -----Original Message----- > From: Roland Weber [mailto:http-async@dubioso.net]=20 > Sent: 19 July 2006 19:08 > To: HttpClient User Discussion > Subject: Re: Too many files open under heavy load >=20 > Hi Ash, >=20 > > I have set it to 200 total + 50 per host (there are only 2 possible > > hosts) >=20 > Ok, so there should be no more than 100 connections open. >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: httpclient-user-help@jakarta.apache.org