users@glassfish.java.net

Re: Hang up: Too many open files

From: Binod <Binod.Pg_at_Sun.COM>
Date: Mon, 03 Sep 2007 16:05:50 +0530

If you cant move to use 1.6, try setting quickstartup to false.
<jvm-options>com.sun.enterprise.server.ss.ASQuickStartup=false</jvm-options>

This would reduce the number of NIO selectors used by glassfish and
hopefully
good enough to handle your spike that happen between 5.30 and 6.30...

1.6 doesnt suffer this as the default provider is epoll
http://blogs.sun.com/alanb/entry/epoll