Documentum.cmis.too很多打开文件错误

问题描述 投票:2回答:1

我们已经从rhel 6在rhel 7上部署了我们的应用程序,在部署之后,我们看到catalina.properties中出现以下错误,因为我的vm链接经常出现故障。我们在tomcat 8.5版本上使用Documentum CMIS 16.4版本。

以下是错误的详细信息:

27-Nov-2018 01:57:00.536 SEVERE [https-jsse-nio-0.0.0.0-12510-Acceptor-0] org.apache.tomcat.util.net.NioEndpoint$Acceptor.run Socket accept failed
 java.io.IOException: Too many open files
        at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
        at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:422)
        at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:250)
        at org.apache.tomcat.util.net.NioEndpoint$Acceptor.run(NioEndpoint.java:457)
        at java.lang.Thread.run(Thread.java:748)

以下是我为解决这个问题所做的努力:我为特定用户增加了1024到8192的ulimit值并重新启动它,回收tomcat服务但没有任何反应。我已经改成了名为/etc/security/limits.d/20-nproc.conf/20-nproc.conf的文件。在这里请帮助。

cmis rhel7 documentum tomcat8.5
1个回答
0
投票

我没有权限添加评论,因此张贴为答案。尝试使用命令lsof -p <pid> | wc -l找出哪些文件是打开的。

这将告诉你哪些文件没有关闭。您还可以通过cat /proc/<pid>/limits检查正在运行的进程的限制

© www.soinside.com 2019 - 2024. All rights reserved.