Must-share information (formatted with Markdown):
- which versions are you using (SonarQube Server / Community Build, Scanner, Plugin, and any relevant extension)
- how is SonarQube deployed: Docker
- what are you trying to achieve
- what have you tried so far to achieve this
Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!
==========
I’ve installed SonarQube on Ubuntu and ran into this error :
× sonar.service - SonarQube service
Loaded: loaded (/etc/systemd/system/sonar.service; enabled; vendor preset: enabled)
Active: failed (Result: start-limit-hit) since Fri 2026-01-23 21:32:26 UTC; 1 day 23h ago
Process: 4502 ExecStart=/opt/sonarqube/bin/linux-x86-64/sonar.sh start (code=exited, status=0/SUCCESS)
Process: 4537 ExecStop=/opt/sonarqube/bin/linux-x86-64/sonar.sh stop (code=exited, status=0/SUCCESS)
Main PID: 4502 (code=exited, status=0/SUCCESS)
CPU: 211ms
Jan 23 21:32:26 odo-code systemd[1]: sonar.service: Scheduled restart job, restart counter is at 5.
Jan 23 21:32:26 odo-code systemd[1]: Stopped SonarQube service.
Jan 23 21:32:26 odo-code systemd[1]: sonar.service: Start request repeated too quickly.
Jan 23 21:32:26 odo-code systemd[1]: sonar.service: Failed with result 'start-limit-hit'.
Jan 23 21:32:26 odo-code systemd[1]: Failed to start SonarQube service.
I’ve already ran this echo “vm.max_map_count=2621440” | sudo tee -a /etc/sysctl.conf but still not working.
Any ideas how I could fix this?
Thanks.