# Sonarqube is stopped, Process exited with exit value \[es\]: 143

**URL:** <https://community.sonarsource.com/t/sonarqube-is-stopped-process-exited-with-exit-value-es-143/15834>\
**Category:** SonarQube Server / Community Build\
**Created:** [October 24, 2019, 8:43am UTC](https://community.sonarsource.com/t/sonarqube-is-stopped-process-exited-with-exit-value-es-143/15834 "2019-10-24T08:43:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![genderbee](https://avatars.discourse-cdn.com/v4/letter/g/cc9497/32.png) [@genderbee](https://community.sonarsource.com/u/genderbee)\
**Post date:** [October 24, 2019, 8:43am UTC](https://community.sonarsource.com/t/sonarqube-is-stopped-process-exited-with-exit-value-es-143/15834/1 "2019-10-24T08:43:42Z")

</div>

Hello,  
I tried to run SQ, but it stopped everytime.

```
Starting SonarQube...
Started SonarQube.
2019.10.24 10:40:29 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /var/www/html/sonarqube/temp
2019.10.24 10:40:29 INFO app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
2019.10.24 10:40:29 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [/var/www/html/sonarqube/elasticsearch]: /var/www/html/sonarqube/elasticsearch/bin/elasticsearch
2019.10.24 10:40:29 INFO app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2019.10.24 10:40:29 INFO app[][o.e.p.PluginsService] no modules loaded
2019.10.24 10:40:29 INFO app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
2019.10.24 10:40:50 INFO app[][o.s.a.SchedulerImpl] Process[es] is up
2019.10.24 10:40:50 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[[key='web', ipcIndex=2, logFilenamePrefix=web]] from [/var/www/html/sonarqube]: /var/www/jdk/jdk11/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/var/www/html/sonarqube/temp --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Dhttp.nonProxyHosts=localhost|127.*|[::1] -cp ./lib/common/*:/var/www/html/sonarqube/lib/jdbc/postgresql/postgresql-42.2.5.jar org.sonar.server.app.WebServer /var/www/html/sonarqube/temp/sq-process16786745124568212556properties
2019.10.24 10:40:54 INFO app[][o.s.a.SchedulerImpl] Process[web] is stopped
2019.10.24 10:40:54 WARN app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 143
2019.10.24 10:40:54 INFO app[][o.s.a.SchedulerImpl] Process[es] is stopped
2019.10.24 10:40:54 INFO app[][o.s.a.SchedulerImpl] SonarQube is stopped
<-- Wrapper Stopped

```

OS Linux usl-ecdt1-t 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86\_64 x86\_64 x86\_64 GNU/Linux

Where could be the problem? Thanks.

---

<div class="post-metadata">

**Author:** ![anon67236913](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@anon67236913](https://community.sonarsource.com/u/anon67236913)\
**Post date:** [October 24, 2019, 9:07am UTC](https://community.sonarsource.com/t/sonarqube-is-stopped-process-exited-with-exit-value-es-143/15834/2 "2019-10-24T09:07:46Z")

</div>

Hi,

> [@genderbee](#):
>
> exited with exit value [es]: 143

this is ES related, you need to check the $SONARQUBE\_HOME/logs/es.log for more details.  
Note that the installation on Linux platform has specific requirements, see  
[https://docs.sonarqube.org/latest/requirements/requirements/](https://docs.sonarqube.org/latest/requirements/requirements/) =\> Linux and check  
if this requirements are satisfied.  
Also recommended:  
[https://docs.sonarqube.org/latest/setup/troubleshooting/](https://docs.sonarqube.org/latest/setup/troubleshooting/)  
and searching the forum for similar postings  
[https://community.sonarsource.com/search?q=%5Bes%5D%3A%20143](https://community.sonarsource.com/search?q=%5Bes%5D%3A%20143)

Gilbert

---

<div class="post-metadata">

**Author:** ![genderbee](https://avatars.discourse-cdn.com/v4/letter/g/cc9497/32.png) [@genderbee](https://community.sonarsource.com/u/genderbee)\
**Post date:** [October 24, 2019, 9:25am UTC](https://community.sonarsource.com/t/sonarqube-is-stopped-process-exited-with-exit-value-es-143/15834/3 "2019-10-24T09:25:25Z")

</div>

Thanks, but I did most of things and still SQ is stoping. My logs.

```
2019.10.24 11:09:51 INFO es[][o.e.e.NodeEnvironment] using [1] data paths, mounts [[/var/www (/dev/mapper/vgwww-lvwww)]], net usable_space [69.6gb], net total_space [244gb], types [ext4]
2019.10.24 11:09:51 INFO es[][o.e.e.NodeEnvironment] heap size [1.9gb], compressed ordinary object pointers [true]
2019.10.24 11:09:51 INFO es[][o.e.n.Node] node name [sonarqube], node ID [_RzXMOCpRD-hu9FKmE91LQ]
2019.10.24 11:09:51 INFO es[][o.e.n.Node] version[6.8.0], pid[14563], build[default/tar/65b6179/2019-05-15T20:06:13.172855Z], OS[Linux/4.15.0-65-generic/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/11.0.4/11.0.4+10-LTS]
2019.10.24 11:09:51 INFO es[][o.e.n.Node] JVM arguments [-XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.io.tmpdir=/var/www/html/sonarqube/temp, -XX:ErrorFile=../logs/es_hs_err_pid%p.log, -Des.enforce.bootstrap.checks=true, -Xms2g, -Xmx2g, -Des.path.home=/var/www/html/sonarqube/elasticsearch, -Des.path.conf=/var/www/html/sonarqube/temp/conf/es, -Des.distribution.flavor=default, -Des.distribution.type=tar]
2019.10.24 11:09:52 INFO es[][o.e.p.PluginsService] loaded module [analysis-common]
2019.10.24 11:09:52 INFO es[][o.e.p.PluginsService] loaded module [lang-painless]
2019.10.24 11:09:52 INFO es[][o.e.p.PluginsService] loaded module [mapper-extras]
2019.10.24 11:09:52 INFO es[][o.e.p.PluginsService] loaded module [parent-join]
2019.10.24 11:09:52 INFO es[][o.e.p.PluginsService] loaded module [percolator]
2019.10.24 11:09:52 INFO es[][o.e.p.PluginsService] loaded module [reindex]
2019.10.24 11:09:52 INFO es[][o.e.p.PluginsService] loaded module [repository-url]
2019.10.24 11:09:52 INFO es[][o.e.p.PluginsService] loaded module [transport-netty4]
2019.10.24 11:09:52 INFO es[][o.e.p.PluginsService] no plugins loaded
2019.10.24 11:09:54 WARN es[][o.e.d.c.s.Settings] [http.enabled] setting was deprecated in Elasticsearch and will be removed in a future release! See the breaking changes documentation for the next major version.
2019.10.24 11:09:54 INFO es[][o.e.d.DiscoveryModule] using discovery type [zen] and host providers [settings]
2019.10.24 11:09:54 INFO es[][o.e.n.Node] initialized
2019.10.24 11:09:54 INFO es[][o.e.n.Node] starting ...
2019.10.24 11:09:55 INFO es[][o.e.t.TransportService] publish_address {127.0.0.1:9001}, bound_addresses {127.0.0.1:9001}
2019.10.24 11:09:55 INFO es[][o.e.b.BootstrapChecks] explicitly enforcing bootstrap checks
2019.10.24 11:09:58 INFO es[][o.e.c.s.MasterService] zen-disco-elected-as-master ([0] nodes joined), reason: new_master {sonarqube}{_RzXMOCpRD-hu9FKmE91LQ}{Q3PkhBNcTD2AyUSR-RyFPA}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube}
2019.10.24 11:09:58 INFO es[][o.e.c.s.ClusterApplierService] new_master {sonarqube}{_RzXMOCpRD-hu9FKmE91LQ}{Q3PkhBNcTD2AyUSR-RyFPA}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube}, reason: apply cluster state (from master [master {sonarqube}{_RzXMOCpRD-hu9FKmE91LQ}{Q3PkhBNcTD2AyUSR-RyFPA}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube} committed version [1] source [zen-disco-elected-as-master ([0] nodes joined)]])
2019.10.24 11:09:58 INFO es[][o.e.n.Node] started
2019.10.24 11:09:58 INFO es[][o.e.g.GatewayService] recovered [0] indices into cluster_state
2019.10.24 11:10:02 INFO es[][o.e.n.Node] stopping ...
2019.10.24 11:10:02 INFO es[][o.e.n.Node] stopped
2019.10.24 11:10:02 INFO es[][o.e.n.Node] closing ...
2019.10.24 11:10:02 INFO es[][o.e.n.Node] closed
2019.10.24 11:20:28 INFO es[][o.e.e.NodeEnvironment] using [1] data paths, mounts [[/var/www (/dev/mapper/vgwww-lvwww)]], net usable_space [69.6gb], net total_space [244gb], types [ext4]
2019.10.24 11:20:28 INFO es[][o.e.e.NodeEnvironment] heap size [1.9gb], compressed ordinary object pointers [true]
2019.10.24 11:20:28 INFO es[][o.e.n.Node] node name [sonarqube], node ID [_RzXMOCpRD-hu9FKmE91LQ]
2019.10.24 11:20:28 INFO es[][o.e.n.Node] version[6.8.0], pid[16948], build[default/tar/65b6179/2019-05-15T20:06:13.172855Z], OS[Linux/4.15.0-65-generic/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/11.0.4/11.0.4+10-LTS]
2019.10.24 11:20:28 INFO es[][o.e.n.Node] JVM arguments [-XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.io.tmpdir=/var/www/html/sonarqube/temp, -XX:ErrorFile=../logs/es_hs_err_pid%p.log, -Des.enforce.bootstrap.checks=true, -Xms2g, -Xmx2g, -Des.path.home=/var/www/html/sonarqube/elasticsearch, -Des.path.conf=/var/www/html/sonarqube/temp/conf/es, -Des.distribution.flavor=default, -Des.distribution.type=tar]
2019.10.24 11:20:28 INFO es[][o.e.p.PluginsService] loaded module [analysis-common]
2019.10.24 11:20:28 INFO es[][o.e.p.PluginsService] loaded module [lang-painless]
2019.10.24 11:20:28 INFO es[][o.e.p.PluginsService] loaded module [mapper-extras]
2019.10.24 11:20:28 INFO es[][o.e.p.PluginsService] loaded module [parent-join]
2019.10.24 11:20:28 INFO es[][o.e.p.PluginsService] loaded module [percolator]
2019.10.24 11:20:28 INFO es[][o.e.p.PluginsService] loaded module [reindex]
2019.10.24 11:20:28 INFO es[][o.e.p.PluginsService] loaded module [repository-url]
2019.10.24 11:20:28 INFO es[][o.e.p.PluginsService] loaded module [transport-netty4]
2019.10.24 11:20:28 INFO es[][o.e.p.PluginsService] no plugins loaded
2019.10.24 11:20:29 WARN es[][o.e.d.c.s.Settings] [http.enabled] setting was deprecated in Elasticsearch and will be removed in a future release! See the breaking changes documentation for the next major version.
2019.10.24 11:20:30 INFO es[][o.e.d.DiscoveryModule] using discovery type [zen] and host providers [settings]
2019.10.24 11:20:30 INFO es[][o.e.n.Node] initialized
2019.10.24 11:20:30 INFO es[][o.e.n.Node] starting ...
2019.10.24 11:20:30 INFO es[][o.e.t.TransportService] publish_address {127.0.0.1:9001}, bound_addresses {127.0.0.1:9001}
2019.10.24 11:20:30 INFO es[][o.e.b.BootstrapChecks] explicitly enforcing bootstrap checks
2019.10.24 11:20:34 INFO es[][o.e.c.s.MasterService] zen-disco-elected-as-master ([0] nodes joined), reason: new_master {sonarqube}{_RzXMOCpRD-hu9FKmE91LQ}{odBnegCpR7Cg43HxmU6Xpg}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube}
2019.10.24 11:20:34 INFO es[][o.e.c.s.ClusterApplierService] new_master {sonarqube}{_RzXMOCpRD-hu9FKmE91LQ}{odBnegCpR7Cg43HxmU6Xpg}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube}, reason: apply cluster state (from master [master {sonarqube}{_RzXMOCpRD-hu9FKmE91LQ}{odBnegCpR7Cg43HxmU6Xpg}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube} committed version [1] source [zen-disco-elected-as-master ([0] nodes joined)]])
2019.10.24 11:20:34 INFO es[][o.e.n.Node] started
2019.10.24 11:20:34 INFO es[][o.e.g.GatewayService] recovered [0] indices into cluster_state
2019.10.24 11:20:37 INFO es[][o.e.n.Node] stopping ...
2019.10.24 11:20:37 INFO es[][o.e.n.Node] stopped
2019.10.24 11:20:37 INFO es[][o.e.n.Node] closing ...
2019.10.24 11:20:37 INFO es[][o.e.n.Node] closed

2019.10.24 11:20:37 WARN web[][o.a.c.l.WebappClassLoaderBase] The web application [ROOT] appears to have started a thread named [elasticsearch[_client_][transport_worker][T#8]] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 java.base@11.0.4/sun.nio.ch.EPoll.wait(Native Method)
 java.base@11.0.4/sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:120)
 java.base@11.0.4/sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:124)
 java.base@11.0.4/sun.nio.ch.SelectorImpl.select(SelectorImpl.java:136)
 app//io.netty.channel.nio.SelectedSelectionKeySetSelector.select(SelectedSelectionKeySetSelector.java:62)
 app//io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:765)
 app//io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:413)
 app//io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:909)
 java.base@11.0.4/java.lang.Thread.run(Thread.java:834)
2019.10.24 11:20:37 INFO web[][o.s.s.a.EmbeddedTomcat] HTTP connector enabled on port 9000
2019.10.24 11:20:37 INFO web[][o.s.p.ProcessEntryPoint] Hard stopping process

```

Any idea?

---

<div class="post-metadata">

**Author:** ![anon67236913](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@anon67236913](https://community.sonarsource.com/u/anon67236913)\
**Post date:** [October 25, 2019, 6:05am UTC](https://community.sonarsource.com/t/sonarqube-is-stopped-process-exited-with-exit-value-es-143/15834/4 "2019-10-25T06:05:29Z")

</div>

Hi,

at first sight, i don’t see an obvious error. Please adjust the loglevel for es in  
$SONARQUBE\_HOME/conf/sonar.properties with `sonar.log.level.es=DEBUG` or even for all  
logs via `sonar.log.level=DEBUG`

Gilbert
