Hi,
glassfish_at_javadesktop.org wrote:
> 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]
What kind of load are you doing? Can you do a netstat -an | grep 8080
(assuming 8080 is what you are using). If you are doing keep-alived
connections, flooding the server will produce such exception as the
connection stay opens for 30 seconds. If you expect such 'flooding'
traffic, you might want to throttles requests by reducing the idle time
from 30 seconds to something lower. Which clients are you using to
stress the server?
Thanks
-- Jeanfrancois
>
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>