• 异常-打开文件过多(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
      
    • 参考网址

    • 参考网址

  • 相关阅读:
    使用 matlab 数据集的生成(generate datasets)
    从 RNN 到 LSTM (Short-Term Memory)
    从 RNN 到 LSTM (Short-Term Memory)
    OpenGL(二十二) gluBuild2DMipmaps 加载Mip纹理贴图
    概念的图解 —— 物理
    python数据库做成邮箱的注册系统!
    [每日一题] OCP1z0-047 :2013-08-15 描述GROUPING 函数 .......................................43
    OpenSSL之PKey的EVP封装
    最长回文字符串(manacher算法)
    POJ burnside&&polya整理练习
  • 原文地址:https://www.cnblogs.com/renxiuxing/p/11753615.html
Copyright © 2020-2023  润新知