dev@grizzly.java.net

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

From: Richard Corsale <igf1_at_yahoo.com>
Date: Fri, 8 May 2009 13:59:27 -0700 (PDT)

This is very interesting. Are you running vmware or vbox?

Sent from my iPhone

On May 8, 2009, at 2:28 PM, Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM> wrote:

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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
For additional commands, e-mail: dev-help_at_grizzly.dev.java.net