I am trying to Setup SonarQube on Centos 6 VM with 6GB of RAM. The process always exits with 143.
On analysis I found that the JVM is being sent a SIGTERM signal and thus exiting. There are no core dumps and dmesg is also quite unhelpful. I also tried fiddling with the Memory options to no avail.
If some can help me debug this issue it will be quite useful. At least, I will have some idea why this software is being terminated.
jvm 1 | 2018.03.06 15:32:59 INFO app[][o.e.p.PluginsService] no modules loaded
jvm 1 | 2018.03.06 15:32:59 INFO app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
jvm 1 | 2018.03.06 15:33:07 INFO app[][o.s.a.SchedulerImpl] Process[es] is up
jvm 1 | 2018.03.06 15:33:07 INFO app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='web', ipcIndex=2, logFilenamePrefix=web]] from [/home/sonar/sonar/sonarqube-7.0]: /opt/jdk1.8.0_161/jre/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/home/sonar/sonar/sonarqube-7.0/temp -Xrs -Xmx4g -Xms4g -XX:+HeapDumpOnOutOfMemoryError -cp ./lib/common/*:./lib/server/*:/home/sonar/sonar/sonarqube-7.0/lib/jdbc/mysql/mysql-connector-java-5.1.42.jar org.sonar.server.app.WebServer /home/sonar/sonar/sonarqube-7.0/temp/sq-process3024208901604150849properties
jvm 1 | 2018.03.06 15:33:12 INFO app[][o.s.a.SchedulerImpl] Process [web] is stopped
jvm 1 | 2018.03.06 15:33:12 INFO app[][o.s.a.SchedulerImpl] Process [es] is stopped
jvm 1 | 2018.03.06 15:33:12 WARN app[][o.s.a.p.AbstractProcessMonitor] Process exited with exit value [es]: 143
jvm 1 | 2018.03.06 15:33:12 INFO app[][o.s.a.SchedulerImpl] SonarQube is stopped
wrapper | <-- Wrapper Stopped