users@glassfish.java.net

Re: Too many open files issue

From: <forums_at_java.net>
Date: Fri, 12 Oct 2012 03:43:32 -0500 (CDT)

Hi, just to give a small feedback on this one:) We expiriance the same
problem on GF3.1.2.2 build5...
[#|2012-10-04T15:53:52.118+0200|WARNING|glassfish3.1.2|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=12;_ThreadName=Thread-3;|GRIZZLY0006:
Exception accepting channel java.io.IOException: Too many open files at
sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) at
sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:145)
at
com.sun.grizzly.TCPSelectorHandler.acceptWithoutRegistration(TCPSelectorHandler.java:745)
at
com.sun.enterprise.v3.services.impl.monitor.MonitorableSelectorHandler.acceptWithoutRegistration(MonitorableSelectorHandler.java:99)
at
com.sun.grizzly.http.SelectorThreadHandler.onAcceptInterest(SelectorThreadHandler.java:99)
at
com.sun.grizzly.SelectorHandlerRunner.handleSelectedKey(SelectorHandlerRunner.java:301)
at
com.sun.grizzly.SelectorHandlerRunner.handleSelectedKeys(SelectorHandlerRunner.java:263)
at
com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:200)
at com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:132)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619) |#] Any attempt of the application
to open file ended with this kind of error, because happened during night and
Im not a linux guru:) I didnt know how to clean the tx files, so I tried
restarting the machine and starting gf again but no luck, then comes the fun
part I stop again glasfish and start gf 3.0.1 and this one worked without any
problem... Blaze

--
[Message sent by forum member 'baze985']
View Post: http://forums.java.net/node/891367