nexus警告max file descriptors [65535] likely too low

web页面上的警告信息:“System Requirement: max file descriptors [65535] likely too low, increase to at least [65536].”web

spacer.gif59c10db2-827a-4808-97ba-e21584dc4b15.png


检查个人Linux (CentOS 7.2)上的/etc/security/limits.conf ,里面已经有了nexus - nofile 65536 这一行,可是并无生效。
ide

最后的解决方法是在/etc/security/limits.conf 中,注释掉原来的nexus - nofile 65536 这一行,并增长如下两行:
ui

nexus          soft    nofile  65536
spa

nexus          hard    nofile  65536blog

或设置任意用户的nofile为65536:
ip

* soft nofile 65536
rem

* hard nofile 65536it

保存修改后重启Nexus,就没有上面的警告了。
ast

--------------------- class

相关文章
相关标签/搜索