users@grizzly.java.net

Re: http keep-alive

From: Peter Speck <speck_at_vitality.dk>
Date: Tue, 4 Sep 2007 15:11:10 +0200

On 03/09/2007, at 17:23, Oleksiy Stashok wrote:

> please try latest Grizzly 1.6.0 sources, I've fixed one possible
> problem, hope it will help.


I have now tried the fix when the server was under load, but the
problem remains.

After a few minutes, I have lots of threads waiting in
sun.nio.ch.KQueueArrayWrapper.kevent0, the server feels very sluggish
and then runs out of memory (java.lang.OutOfMemoryError). There is
approx. 170 keep-alive connections at this time of the day.

When I test the server using Apache Bench, the problem doesn't occur.

----
    - Peter Speck