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

相關文章
相關標籤/搜索