hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <ashley.mcconn...@bt.com>
Subject RE: Too many files open under heavy load
Date Thu, 20 Jul 2006 15:17:44 GMT
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 == null) {

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.  

Thanks again for your help.
All the best,

> -----Original Message-----
> From: Roland Weber [mailto:http-async@dubioso.net] 
> Sent: 19 July 2006 19:08
> To: HttpClient User Discussion
> Subject: Re: Too many files open under heavy load
> Hi Ash,
> > I have set it to 200 total + 50 per host (there are only 2 possible
> > hosts)
> Ok, so there should be no more than 100 connections open.

To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org

View raw message