centos7启动SonarQube 8.6报错

网友投稿 736 2022-09-26

centos7启动SonarQube 8.6报错

centos7启动SonarQube 8.6报错

报错信息如下:

ERROR: [2] bootstrap checks failed[1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535][2]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]ERROR: Elasticsearch did not exit normally - check the logs at /home/sonar/sonarqube-8.6.0.39

解决方法

编辑配置文件vim /etc/sysctl.d/99-sysctl.conf,添加

fs.file-max = 2097152vm.max_map_count = 262144vm.swappiness = 1

让配置生效

sudo

启动成功日志

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:Centos安装多端口的redis服务
下一篇:Redis优化系列:连接数优化
相关文章

 发表评论

暂时没有评论,来抢沙发吧~