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: Tue, 18 Sep 2007 10:16:07 -0400

Hi Changshin,

Changshin Lee wrote:
> Hi all,
>
> Thanks for all your responses.
>
> Currently the site
> http://labs.openmaru.com/projects/springbook/
> runs well with ulimit -n 4096.
>
> Probably 1024 is too small for NIO, so I hope this experience would help
> people to run JRoR applications on Grizzly in production.

Many thanks for the updates!!!

-- Jeanfrancois


>
> Cheers,
>
> ias
>
>
> 2007. 09. 18, 오전 9:15, Jeanfrancois Arcand 작성:
>
>> 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. :-)
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>