We have upgraded our Sonarqube version from 9.9.9 to Sonarqube 2025.1.4 and it is up and running .
but when we tried to scan the project , it is getting scan successfully, but later SonarQube server is getting shutdown and after some time again starting.
In logs we have observed below error logs which is related to elastic search. Could you please assist what’s wrong here.PFA error log file for reference.
JFYI we are using m5.large AWS EC2 instance type to host our sonarqube , with below config in sonar.properties :
sonar.ce.javaOpts=-Xmx6144m -Xms256m -XX:+HeapDumpOnOutOfMemoryError
sonar.ce.workerCount=2
*sonar.search.javaAdditionalOpts=-Dlog4j2.formatMsgNoLookups=true
*
below are the logs :
2025.11.25 06:24:50 INFO ce[o.s.c.t.CeWorkerImpl] Execute task | project=no.dnb.tools:tools_sonar_build_test | type=REPORT | branch=feature/dev_setup | branchType=BRANCH | id=a969ca1f-2bf8-4275-b201-89446abddb4c | submitter=tools-test
2025-11-25T11:54:51.769+05:30
2025.11.25 06:24:51 INFO ce[a969ca1f-2bf8-4275-b201-89446abddb4c][o.s.c.t.s.ComputationStepExecutor] Extract report | status=SUCCESS | time=37ms
2025-11-25T11:54:51.783+05:30
2025.11.25 06:24:51 INFO ce[a969ca1f-2bf8-4275-b201-89446abddb4c][o.s.c.t.s.ComputationStepExecutor] Persist scanner context | status=SUCCESS | time=14ms
2025-11-25T11:54:51.852+05:30
2025.11.25 06:24:51 INFO ce[a969ca1f-2bf8-4275-b201-89446abddb4c][o.s.c.t.s.ComputationStepExecutor] Propagate analysis warnings from scanner report | status=SUCCESS | time=61ms
2025-11-25T11:54:51.855+05:30
2025.11.25 06:24:51 INFO ce[a969ca1f-2bf8-4275-b201-89446abddb4c][o.s.c.t.s.ComputationStepExecutor] Generate analysis UUID | status=SUCCESS | time=0ms
2025-11-25T11:54:52.135+05:30
2025.11.25 06:24:52 INFO ce[a969ca1f-2bf8-4275-b201-89446abddb4c][o.s.c.t.s.ComputationStepExecutor] Load analysis metadata | status=SUCCESS | time=264ms
2025-11-25T11:54:52.193+05:30
2025.11.25 06:24:52 INFO ce[a969ca1f-2bf8-4275-b201-89446abddb4c][o.s.c.t.s.ComputationStepExecutor] Initialize | status=SUCCESS | time=37ms
2025-11-25T11:54:52.249+05:30
2025.11.25 06:24:52 INFO ce[a969ca1f-2bf8-4275-b201-89446abddb4c][o.s.c.t.s.ComputationStepExecutor] Build tree of components | components=20 | status=SUCCESS | time=54ms
2025-11-25T11:54:52.255+05:30
2025.11.25 06:24:52 INFO ce[a969ca1f-2bf8-4275-b201-89446abddb4c][o.s.c.t.s.ComputationStepExecutor] Validate project | status=SUCCESS | time=5ms
2025-11-25T11:54:55.048+05:30
ERROR: Elasticsearch exited unexpectedly, with exit code 137
2025-11-25T11:54:55.200+05:30
2025.11.25 06:24:55 WARN app[o.s.a.p.AbstractManagedProcess] Process exited with exit value [ElasticSearch]: 137
2025-11-25T11:54:55.201+05:30
2025.11.25 06:24:55 INFO app[o.s.a.SchedulerImpl] Process[ElasticSearch] is stopped
2025-11-25T11:54:55.472+05:30
2025.11.25 06:24:55 INFO ce[o.s.p.ProcessEntryPoint] Hard stopping process
2025-11-25T11:54:55.493+05:30
2025.11.25 06:24:55 INFO ce[o.s.ce.app.CeServer] Compute Engine is stopping…




