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

    • 参考网址

  • 相关阅读:
    输入法searchLookUpEditd的使用
    DevExpress GridControl使用方法总结
    DevExpress 控件中GridControl的使用
    MSSQl 事务的使用
    Python class NameError name "xxx" is not defined
    win 10 slmgr.vbs -xpr 无法运行,被豆麦笔记打开解决方法
    git checkout 撤销多个文件,撤销整个文件夹
    Python argparse 模块,参数传递
    Python Enum 枚举 用法汇总
    git branch & checkout fetch 的使用和冲突解决
  • 原文地址:https://www.cnblogs.com/renxiuxing/p/11753615.html
Copyright © 2020-2023  润新知