SonarQube 8.2 community edition with postgresql version 10 failing to start the container on port 9000

  • versions used (SonarQube 8.2 used and postgresql version 10)
  • error observed (2020-04-25T23:43:44.863270551Z: [INFO] 2020.04.25 23:43:44 INFO es[o.e.b.BootstrapChecks] explicitly enforcing bootstrap checks
    2020-04-25T23:43:44.910766832Z: [INFO] ERROR: [1] bootstrap checks failed
    2020-04-25T23:43:44.911168854Z: [INFO] [1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
    2020-04-25T23:43:44.939695405Z: [INFO] 2020.04.25 23:43:44 INFO es[o.e.n.Node] stopping …
    2020-04-25T23:43:45.022951330Z: [INFO] 2020.04.25 23:43:45 INFO es[o.e.n.Node] stopped
    2020-04-25T23:43:45.023801176Z: [INFO] 2020.04.25 23:43:45 INFO es[o.e.n.Node] closing …
    2020-04-25T23:43:45.085854049Z: [INFO] 2020.04.25 23:43:45 INFO es[o.e.n.Node] closed
    2020-04-25T23:43:45.451567727Z: [INFO] 2020.04.25 23:43:45 WARN app[o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 78
    2020-04-25T23:43:45.458790320Z: [INFO] 2020.04.25 23:43:45 INFO app[o.s.a.SchedulerImpl] Process[es] is stopped
    2020-04-25T23:43:45.460785528Z: [INFO] 2020.04.25 23:43:45 INFO app[o.s.a.SchedulerImpl] SonarQube is stopped)

Please help me in above issue. I am trying to install SonarQube 8.2 community version in Azure Linux with container Web App and its failing to start when i add the postgres sql sonnection strings with username and password.
error message is posted on above for the reference.

versions used
SonarQube : 8.2 community
Postgressql : 10
Web App : linux with container webapp.


This message is clear, you have to increase the max_map_count as described in the documentation.
If this does not fix your issue please attach a zip of the logs folder of your sonarqube instance.

can i replicate this issue in Linux container web app(PaaS) ???

Im not able run this commands in linux with container web app as its PaaS service

sysctl vm.max_map_count
sysctl fs.file-max
ulimit -n
ulimit -u