dev@grizzly.java.net

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

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

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