Elasticsearch stuck on startup

Hello everyone,

It seems that something is blocking ES on my machine

[2017-10-10T12:10:10,444][INFO ][o.e.n.Node               ] [nomad-node] initializing ...
[2017-10-10T12:10:10,572][INFO ][o.e.e.NodeEnvironment    ] [nomad-node] using [1] data paths, mounts [[/ (/dev/sda2)]], net usable_space [319.2gb], net total_space [450gb], spins? [possibly], types [ext4]
[2017-10-10T12:10:10,572][INFO ][o.e.e.NodeEnvironment    ] [nomad-node] heap size [1.9gb], compressed ordinary object pointers [true]
[2017-10-10T12:10:10,575][INFO ][o.e.n.Node               ] [nomad-node] node name [nomad-node], node ID [KENAOuXxQbmXkHQ6WI7GNg]
[2017-10-10T12:10:10,575][INFO ][o.e.n.Node               ] [nomad-node] version[5.6.2], pid[9717], build[57e20f3/2017-09-23T13:16:45.703Z], OS[Linux/4.10.0-33-generic/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_141/25.141-b15]
[2017-10-10T12:10:10,576][INFO ][o.e.n.Node               ] [nomad-node] JVM arguments [-Xms2g, -Xmx2g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -Djdk.io.permissionsUseCanonicalPath=true, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Dlog4j.skipJansi=true, -XX:+HeapDumpOnOutOfMemoryError, -Des.path.home=/usr/local/elasticsearch-5.6.2]
[2017-10-10T12:10:11,120][INFO ][o.e.p.PluginsService     ] [nomad-node] loaded module [aggs-matrix-stats]
[2017-10-10T12:10:11,120][INFO ][o.e.p.PluginsService     ] [nomad-node] loaded module [ingest-common]
[2017-10-10T12:10:11,120][INFO ][o.e.p.PluginsService     ] [nomad-node] loaded module [lang-expression]
[2017-10-10T12:10:11,120][INFO ][o.e.p.PluginsService     ] [nomad-node] loaded module [lang-groovy]
[2017-10-10T12:10:11,120][INFO ][o.e.p.PluginsService     ] [nomad-node] loaded module [lang-mustache]
[2017-10-10T12:10:11,120][INFO ][o.e.p.PluginsService     ] [nomad-node] loaded module [lang-painless]
[2017-10-10T12:10:11,120][INFO ][o.e.p.PluginsService     ] [nomad-node] loaded module [parent-join]
[2017-10-10T12:10:11,120][INFO ][o.e.p.PluginsService     ] [nomad-node] loaded module [percolator]
[2017-10-10T12:10:11,120][INFO ][o.e.p.PluginsService     ] [nomad-node] loaded module [reindex]
[2017-10-10T12:10:11,121][INFO ][o.e.p.PluginsService     ] [nomad-node] loaded module [transport-netty3]
[2017-10-10T12:10:11,121][INFO ][o.e.p.PluginsService     ] [nomad-node] loaded module [transport-netty4]
[2017-10-10T12:10:11,121][INFO ][o.e.p.PluginsService     ] [nomad-node] no plugins loaded
[2017-10-10T12:10:11,977][INFO ][o.e.d.DiscoveryModule    ] [nomad-node] using discovery type [zen]
[2017-10-10T12:10:12,333][INFO ][o.e.n.Node               ] [nomad-node] initialized
[2017-10-10T12:10:12,333][INFO ][o.e.n.Node               ] [nomad-node] starting ...
[2017-10-10T12:10:12,438][INFO ][o.e.t.TransportService   ] [nomad-node] publish_address {127.0.0.1:9300}, bound_addresses {127.0.0.1:9300}
[2017-10-10T12:10:12,447][WARN ][o.e.b.BootstrapChecks    ] [nomad-node] max file descriptors [32000] for elasticsearch process is too low, increase to at least [65536]
[2017-10-10T12:10:15,579][INFO ][o.e.c.s.ClusterService   ] [nomad-node] new_master {nomad-node}{KENAOuXxQbmXkHQ6WI7GNg}{ELHkjNOSSy2yUYcN9Y6QPA}{localhost}{127.0.0.1:9300}, reason: zen-disco-elected-as-master ([0] nodes joined)
[2017-10-10T12:10:15,601][INFO ][o.e.h.n.Netty4HttpServerTransport] [nomad-node] publish_address {127.0.0.1:9200}, bound_addresses {127.0.0.1:9200}
[2017-10-10T12:10:15,602][INFO ][o.e.n.Node               ] [nomad-node] started
[2017-10-10T12:10:15,652][INFO ][o.e.g.GatewayService     ] [nomad-node] recovered [0] indices into cluster_state

At this point, when I try to do a curl, nothing happens. I tried with both ES 2.3.4 and ES 5.6.2.
I think it is probably due to some previous instance of ES still running somewhere but I could not find any with the ps command.

Thank you for your help!

Everything looks fine. Opening 127.0.0.1:9200 should give something.

1 Like

It is solved actually. I managed to kill the already running processes.
Thanks!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.