Nexus System Requirement: max file descriptors [10240] likely too low, increase to at least [65536].

今天想试着做maven私有库,所以看别人说用Nexus和maven配合来做,所以就试着在自己的mac上装了一个Nexus系统,但在访问后发现出现了如标题的错误

System Requirement: max file descriptors [10240] likely too low, increase to at least [65536].

这个问题其实也没什么只是警告而已但看着不舒服所以就想着弄一下,在网上搜解决方案呗,后来搜到了具体解决方案,直接在/etc/security这个目录下新建limits.confg文件,添加一下内容就可以解决

nexus          soft    nofile  1024
nexus          hard    nofile  65536

然后重启nexus,记住重启是先stop再重新start,如下

./nexus stop
./nexus start
0 0 vote
Article Rating
Subscribe
提醒
guest
0 评论
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x