dev@grizzly.java.net

Re: grizzly block when high concurrent users requests page

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Mon, 26 Jan 2009 13:55:57 +0100

Hi Rama,

can you pls. set logging level for "grizzly" to FINE and send us
logging info. It will help a lot.

Thank you.

WBR,
Alexey.

On Jan 24, 2009, at 2:05 , rama wrote:

> Hello :)
>
> I have something to report about grizzly http 1.9.4
>
>
> Fist of all, sorry for the poor information, but it's quite
> difficult to track the problem.
>
> I have configured a grizzlywebserver with many worker thread
> (changing the default stat pool minthread)
> this problem (i will describe it after this) happen with all the
> tested configuration (5,50,100 worker thread)
>
>
> When grizzly reach more than 60-70 concurrents users, it simply
> blocks for 30 seconds from time to time.
>
> I have profiled the code, to see what's up with threads (i have used
> jprofiler)
>
> what come out is that worker thread are "free" (waiting) most of
> time (even with 5 workers)
>
> while a thread called "grizzly selector"
> became green (running) for a while.
>
> In this timeframe, all the request are blocked.
>
> When grizzly selector (i don't have the correct name, i am afraid)
> come back to waiting,
> all the comunication restart suddently.
>
>
> There are some trick to avoid this problem?
>
> best regards
>
> Rama
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>