dev@grizzly.java.net

Re: java.io.IOException: Too many open files in using Grizzly JRuby Web Server

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Mon, 17 Sep 2007 20:15:59 -0400

Salut,

TAKAI Naoto wrote:
> Hi Changshin,
>
> 2007/9/17, Changshin Lee <iasandcb_at_gmail.com>:
>> 1. What is a recommended number for ulimit -n ?
>
> It seems not specific to JRoR, but Grizzly/GlassFish issue. Do you
> read following thread?
>
> http://forums.java.net/jive/thread.jspa?messageID=234422

The problem is different as Grizzly is not enabled when Apache front
GlassFish :-) But we might have a leak somewhere (Peter already
supported something similar). I'm trying to find a test case to
reproduce the problem as my current performance benchmark doesn't show
any leaks for now.

Thanks!

-- Jeanfrancois

>
>> 2. Is there any good way to run Grizzly JRuby Web Server as a daemon?
>
> Grizzly JRuby web server has no stand-alone daemon mode now. It is not
> difficult to implement daemon mode. Please wait a bit. :-)
>