users@grizzly.java.net

Re: Comet handler starts terminating TCP connections with RST?

From: Jussi Kuosa <jussi.kuosa_at_f-secure.com>
Date: Thu, 18 Dec 2008 04:47:41 -0800 (PST)

> Let me know if that fix the issue.

Hi Jean-Francois,
and thank you for your incredibly fast response!

I put your fix to test this morning and it ran almost 4 hours before going
into 100% for one core. The symptoms are the same: selector thread for port
8282 is hot sitting in epollWait. As always, eden space mem graph looks like
a heart-attack after the thrashing due to the amount of temporary objects
that are created just to notice that there's nothing to do...

>> One workaround for you is to set the
>> CometContext.setExpirationDelay(-1). This will not enabled that extra
>> Selector.

I was supposed to do this in the morning, but I'll put that to test now.
I'll let you know ASAP.

-Jussi
-- 
View this message in context: http://www.nabble.com/Comet-handler-starts-terminating-TCP-connections-with-RST--tp20337445p21072090.html
Sent from the Grizzly - Users mailing list archive at Nabble.com.