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

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

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


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

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

nexus          soft    nofile  65536

nexus          hard    nofile  65536

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

* soft nofile 65536

* hard nofile 65536

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

--------------------- 


猜你喜欢

转载自blog.51cto.com/ywliyq/2451938