users@grizzly.java.net

Re: Comet handler starts terminating TCP connections with RST?

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Thu, 18 Dec 2008 09:34:09 -0500

Salut,

Jussi Kuosa wrote:
>
>> 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...

Thanks for the feedback....let me think about another workaround.


>
>>> 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.

Many Many Thanks!

-- Jeanfrancois

>
> -Jussi