dev@grizzly.java.net

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

From: Changshin Lee <iasandcb_at_gmail.com>
Date: Tue, 18 Sep 2007 11:04:43 +0900

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.

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
>