Environment:
SonarQube 6.7.4
Running as a service on Linux
Checking the ElasticSearch logs, es.log, I find these warnings:
WARN es[][o.e.b.BootstrapChecks] max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]
WARN es[][o.e.b.BootstrapChecks] max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
P.s.
I also have ActiveRulesPublisher issue described in: Initial setup integration failing . Still need to try the suggested fix. I have the feeling not having the warnings to begin with will help to avoid this issue in the future.
I wouldn’t want to document them in both places and have to maintain that duplication. (I suppose I could use an include, but that’s not straightforward to maintain either…).
Do you feel strongly that they really belong in one place versus the other?
I missed to check the Requirements page. Honestly the docs are pretty good, the install guide even links back to the requirements page.
Since Sonar has been running successfully for a while, and the Adminstration -> System page was reporting a green state ( both overall and for the search engine state) I did not assume that I’m lacking something so important.
Without checking the logs manually it is easy to miss this.
Do you think it makes sense to improve the self reported state? “Max File Descriptors” as a metric is already available on the UI. If it warned me that I need to configure that properly, I would have caught this issue a lot earlier. With that the docs do not really need an update.