hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Stale connection checking with NIO
Date Tue, 19 Nov 2013 13:39:46 GMT
On Tue, 2013-11-19 at 15:38 +0530, Asankha C. Perera wrote:
> Hi Oleg
> > As long as the underlying channel has input interest turned on it should
> > get notified of the opposite end closing the connection. NIO connections
> > can only become 'stale' if one explicitly disables input interest prior
> > to releasing connections back to the pool
> Thank you for the reply. Input interest is turned on.. and everything 
> works fine normally. The backend is Tomcat.
> 
> However, at one of our client production sites, it seems like we 
> encounter a socket reset only after we try to write it. I am just 
> curious if anyone else has seen such an issue before. I have seen Tomcat 
> resetting newly accepted connections after ACKing [at least some of] the 
> packets when under load, but not seen resetting of a keepalive 
> connection with a TCP dump which will help us verify our hypothesis.
> 
> regards
> asankha

Asankha

I am not a TCP/IP specialist by any stretch of imagination. I really
have no idea what the cause of the problem might be. A TCP dump would be
quite useful, of course.

Sorry.

Oleg



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message