centos下安装nexus-3.18.1,出现Sonatype Nexus: Recommended file descriptor limit is 65536 but count is 4096
Sonatype Nexus: Recommended file descriptor limit is 65536 but count is 4096.
https://zixizixi.cn/sonatype-nexus-3-linux-file-descriptor-limit
问题说明
在 CentOS 或其他 Linux 系统上安装 Sonatype Nexus Repository Manager,配置完毕启动登录后,在 /support/status 状态页面的 File Descriptors 项目可能会显示 Recommended file descriptor limit is 65536 but count is 4096. 警告。
原因是 Nexus 3 将很有可能要消耗比 Linux 或 OSX 操作系统允许每个用户的默认文件句柄数(4096)更多的数量。
终极解决办法::
Recommended file descriptor limit is 65536 but count is 4096 问题处理
1、 编辑 vim /etc/security/limits.conf
添加代码: @root - nofile 65536
2、编辑 vim nexus.rc
添加的代码: run_as_user="root"
3、重启Nexus ,重启linux系统:reboot
如果能解决你的问题,请留言给我点赞!谢谢,技术源于分享,分享成就技术! 共同成长!