dev@grizzly.java.net

Re: grizzly block when high concurrent users requests page

From: Minoru Nitta <minoru.nitta_at_jp.fujitsu.com>
Date: Mon, 26 Jan 2009 08:21:42 +0900

Hello Rama,


 I am implementing SIP servlet container, like Sailfin, with Grizzly. So I am not sure
my case is as same as yours but I encountered the similar problem as yours.

 Please check the issues

https://grizzly.dev.java.net/issues/show_bug.cgi?id=371
https://grizzly.dev.java.net/issues/show_bug.cgi?id=370

 I hope these can help you.

Minoru

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

----------------------------------------------------
富士通株式会社
ソ事本) アプリケーションマネジメント・ミドルウェア事業部 第ニ開発部
新田 稔 mailto:minoru.nitta_at_jp.fujitsu.com
外線 054-203-0208 内線 7553-3615
----------------------------------------------------
Webと音声を融合するアプリケーション開発・実行環境
     Interstage SIPnet
http://interstage.fujitsu.com/jp/sipnet/