dev@grizzly.java.net

Re: (JDK Issue?)ControllerStateTest -> IOException: Too many open file

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Fri, 08 May 2009 14:28:22 -0400

Salut,

looks like this is a conf issue. Doing:

echo 1024 > /proc/sys/fs/epoll/max_user_instances

The problem went away..euh :-)

-- Jeanfrancois

Jeanfrancois Arcand wrote:
> Salut,
>
> I'm currently observing:
>
> https://grizzly.dev.java.net/issues/show_bug.cgi?id=585
>
> when I run grizzly/modules/grizzly% mvn -Dtest=ControllerStateTest
>
> I don't get any exception if I run a Ubuntu/single core, but as soon as
> I use a Ubuntu + dual core, I see the exception. I can workaround the
> exception by commenting out the Controller.autoCongigureCore() and
> suddently no exception. Can someone using a multi-core machine run the
> test and let me know? I do see the exception only on Ubuntu 9.10 (os X
> works fine). If you don't know how many core you have, just do:
>
> Linux
> ------
> cat /proc/cpuinfo | grep processor | wc -l
>
> OS X
> ----
> sysctl -n hw.ncpu
>
> Thanks
>
> -- Jeanfrabncois
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>