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) {
return;
}
conn.close();
super.releaseConnection(conn);
}
}
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,
Ash
> -----Original Message-----
> From: Roland Weber [mailto:[EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]