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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to