2
我已經使用了AppFuse和mysql數據庫java.net.SocketException異常:打開的文件太多
問題是有時下拋出異常的應用程序:
Jan 27, 2011 4:54:56 AM org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocket
SEVERE: Endpoint ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8080] ignored exception: java.net.SocketException: Too many open files
java.net.SocketException: Too many open files
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
at java.net.ServerSocket.implAccept(ServerSocket.java:453)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:60)
at org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:368)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:549)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:619)
2011年1月27日4:54 :56 AM org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocket。
請任何人告訴我這種異常的主要原因?如果這種異常可以導致tomcat被關閉?
由於提前
http://amitbhayani.blogspot.com/2010/01/javanetsocketexception-too-many-open.html – Nishant 2011-02-06 08:52:05
非常感謝Nishant的幫助。但是,如果這個異常可以導致tomcat被關閉或不? – Ali 2011-02-06 08:53:40