commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: [httpclient] CLOSE_WAIT sticking around
Date Tue, 15 Nov 2005 22:01:53 GMT
On Tue, 2005-11-15 at 16:23 -0500, Mark Diggory wrote:
> I'm getting a number of CLOSE_WAIT sockets between HttpClient and my 
> Apache server. Do you know how I can configure HttpClient not to leave 
> behind CLOSE_WAIT's?
> 

Mark,

Consider implementing an idle connection handler

For details see

http://jakarta.apache.org/commons/httpclient/apidocs/org/apache/commons/httpclient/HttpConnectionManager.html#closeIdleConnections(long)
http://jakarta.apache.org/commons/httpclient/apidocs/org/apache/commons/httpclient/util/IdleConnectionTimeoutThread.html

Hope this helps

Oleg

> Cheers,
> Mark Diggory
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 
> 


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


Mime
View raw message