Must-share information (formatted with Markdown):
- which versions are you using (9.9 LTS)
- how is SonarQube deployed: zip
- what are you trying to achieve
- what have you tried so far to achieve this
Hi Team,
Sonarqube application is getting stopped once in a month with below error. Although I have set vm.max_map_count and other details which mentioned below. And also added below lines in /etc/sysctl.d/99-sonarqube.conf as well.
sysctl -w vm.max_map_count=524288
sysctl -w fs.file-max=131072
ulimit -n 131072
ulimit -u 8192
I am running sonarqube with user account only not with root. Please let us know what i can do to resolve this issue. So that it should not happen again in future.
=================================================================
ERROR: [1] bootstrap checks failed. You must address the points described in the following [1] lines before starting Elasticsearch.
bootstrap check failure [1] of [1]: 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 /apps/sonarqube/sonarqube-9.9.1.69595/logs/sonarqube.log
2023.11.20 01:16:24 WARN app[o.s.a.p.AbstractManagedProcess] Process exited with exit value [ElasticSearch]: 78
2023.11.20 01:16:24 INFO app[o.s.a.SchedulerImpl] Process[ElasticSearch] is stopped
2023.11.20 01:16:24 INFO app[o.s.a.SchedulerImpl] SonarQube is stopped