異常-打開文件過多(too many open files)


異常-打開文件過多

  • 異常報錯如下

      09-Oct-2019 15:37:51.923 嚴重 [http-nio2-8080-Acceptor-0] org.apache.tomcat.util.net.Nio2Endpoint$Acceptor.run Socket accept failed
      java.util.concurrent.ExecutionException: java.io.IOException: 打開的文件過多
      at sun.nio.ch.CompletedFuture.get(CompletedFuture.java:69)
      at org.apache.tomcat.util.net.Nio2Endpoint$Acceptor.run(Nio2Endpoint.java:398)
      at java.lang.Thread.run(Thread.java:748)
      Caused by: java.io.IOException: 打開的文件過多
      at sun.nio.ch.UnixAsynchronousServerSocketChannelImpl.accept0(Native Method)
      at sun.nio.ch.UnixAsynchronousServerSocketChannelImpl.accept(UnixAsynchronousServerSocketChannelImpl.java:344)
      at sun.nio.ch.UnixAsynchronousServerSocketChannelImpl.implAccept(UnixAsynchronousServerSocketChannelImpl.java:280)
      at sun.nio.ch.AsynchronousServerSocketChannelImpl.accept(AsynchronousServerSocketChannelImpl.java:124)
      ... 2 more
    
      09-Oct-2019 15:37:52.324 嚴重 [http-nio2-8080-Acceptor-0] org.apache.tomcat.util.net.Nio2Endpoint$Acceptor.run Socket accept failed
      java.util.concurrent.ExecutionException: java.io.IOException: 打開的文件過多
      at sun.nio.ch.CompletedFuture.get(CompletedFuture.java:69)
      at org.apache.tomcat.util.net.Nio2Endpoint$Acceptor.run(Nio2Endpoint.java:398)
      at java.lang.Thread.run(Thread.java:748)
      Caused by: java.io.IOException: 打開的文件過多
      at sun.nio.ch.UnixAsynchronousServerSocketChannelImpl.accept0(Native Method)
      at sun.nio.ch.UnixAsynchronousServerSocketChannelImpl.accept(UnixAsynchronousServerSocketChannelImpl.java:344)
      at sun.nio.ch.UnixAsynchronousServerSocketChannelImpl.implAccept(UnixAsynchronousServerSocketChannelImpl.java:280)
      at sun.nio.ch.AsynchronousServerSocketChannelImpl.accept(AsynchronousServerSocketChannelImpl.java:124)
      ... 2 more
    
      09-Oct-2019 15:37:53.124 嚴重 [http-nio2-8080-Acceptor-0] org.apache.tomcat.util.net.Nio2Endpoint$Acceptor.run Socket accept failed
      java.util.concurrent.ExecutionException: java.io.IOException: 打開的文件過多
      at sun.nio.ch.CompletedFuture.get(CompletedFuture.java:69)
      at org.apache.tomcat.util.net.Nio2Endpoint$Acceptor.run(Nio2Endpoint.java:398)
      at java.lang.Thread.run(Thread.java:748)
      Caused by: java.io.IOException: 打開的文件過多
      at sun.nio.ch.UnixAsynchronousServerSocketChannelImpl.accept0(Native Method)
      at sun.nio.ch.UnixAsynchronousServerSocketChannelImpl.accept(UnixAsynchronousServerSocketChannelImpl.java:344)
      at sun.nio.ch.UnixAsynchronousServerSocketChannelImpl.implAccept(UnixAsynchronousServerSocketChannelImpl.java:280)
      at sun.nio.ch.AsynchronousServerSocketChannelImpl.accept(AsynchronousServerSocketChannelImpl.java:124)
      ... 2 more
    
  • 參考網址

  • 參考網址


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM