hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Threads problem - too many errors.
Date Thu, 06 Dec 2007 10:45:29 GMT

On Tue, 2007-12-04 at 22:58 +0100, Krzysztof Zimnicki wrote:
> Hello.
> 
> My application using threads, do 1000-10000 conections. I create 20-30 
> threads and at begining everything is fine, but 2-3h later i have only 
> 50% works threads. I don't know what is wrong, and have more errors than 
> at begining. My code:
> 

> Many of errors:
> 
> java.net.SocketException: Connection reset
>         at java.net.SocketInputStream.read(Unknown Source)

...

> 
> Any idea?
> 

Krzysztof,

'SocketException: Connection reset' can happen. Your application should
compensate for failed connections by opening new ones.

Oleg 


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


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


Mime
View raw message