users@glassfish.java.net

glassfish "too many open files"

From: <glassfish_at_javadesktop.org>
Date: Sun, 24 Feb 2008 12:56:21 PST

anyone got the same error when trying to open more connections? the simultaneous open connections are by far not the file-limit of the operating system, but the server starts to throw this error.

in addition it sometimes happens that glassfish freezes the whole x environment after some time and then nothing works anymore apart of the kill switch!
i believe this problem has something to do with the "file errors" i get.

here the verbose output:

     [exec] [#|2008-02-24T21:17:49.529+0100|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=16;_ThreadName=SelectorThread-8080;_RequestID=efbb0ad3-6b12-4879-922b-61cce0ce78dc;|WEB0756: Caught exception during HTTP processing.
     [exec] java.io.IOException: Too many open files
     [exec] at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
     [exec] at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:145)
     [exec] at com.sun.enterprise.web.connector.grizzly.SelectorThread.handleAccept(SelectorThread.java:1438)
     [exec] at com.sun.enterprise.web.connector.grizzly.SelectorThread.handleConnection(SelectorThread.java:1417)
     [exec] at com.sun.enterprise.web.connector.grizzly.SelectorThread.doSelect(SelectorThread.java:1329)
     [exec] at com.sun.enterprise.web.connector.grizzly.SelectorThread.startListener(SelectorThread.java:1263)
     [exec] at com.sun.enterprise.web.connector.grizzly.SelectorThread.startEndpoint(SelectorThread.java:1226)
     [exec] at com.sun.enterprise.web.connector.grizzly.SelectorThread.run(SelectorThread.java:1202)
     [exec] |#]
     [exec]

i hope someone can help,

thanks a lot,

mario
[Message sent by forum member 'the666pack' (the666pack)]

http://forums.java.net/jive/thread.jspa?messageID=260636