dev@grizzly.java.net

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

From: Mohamed Abdelaziz <Mohamed.Abdelaziz_at_Sun.COM>
Date: Sun, 16 Sep 2007 16:09:03 -0700

Changshin Lee wrote:
>
>
> The current ulimit -n is 1024. What should I do to resolve this
> problem? In more details,
>
> 1. What is a recommended number for ulimit -n ?

I would base it on the supported number of open connections. I had
written a on wiki on altering fd limits, in case you need a reference.

http://wiki.java.net/bin/view/Jxta/RunningPublic