Elasticsearch hangs after launch and never initializes. This is a
clean install on a clean install of CentOS, chown root:root and chmod
777 to ensure there are no permission issues. There are no error
messages and the only way to stop the app is to force a kill with
"kill -9". Anyone have any experience with this or have any
suggestions? I do have another instance running perfectly fine on
another machine running same os and java version and have been unable
to determine the difference.
java version "1.6.0_17"
OpenJDK Runtime Environment (IcedTea6 1.7.9) (rhel-1.36.b17.el6_0-
x86_64)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)
Elastic Search 0.19.8 (or 0.19.7)
Linux 2.6.32-71.29.1.el6.x86_64
Output:
[root@nnn]# ../elasticsearch/bin/elasticsearch -f
[2012-07-10 13:26:57,598][INFO ][node ] [Hrimhari]
{0.19.8}[17939]: initializing ...
[2012-07-10 13:26:57,603][INFO ][plugins ] [Hrimhari]
loaded [], sites []
[2012-07-10 13:26:57,618][TRACE][env ] [Hrimhari]
obtaining node lock on /elasticsearch/data/elasticsearch/nodes/0 ...
[2012-07-10 13:26:57,625][DEBUG][env ] [Hrimhari]
using node location [[/elasticsearch/data/elasticsearch/nodes/0]],
local_node_id [0]
[2012-07-10 13:26:57,627][TRACE][env ] [Hrimhari]
node data locations details: -> /elasticsearch/data/elasticsearch/
nodes/0, free_space [60.6gb], usable_space [60.6gb]
(this is where it hangs)
The running process looks like this:
root 17939 21563 87 13:26 pts/0 00:04:42 /usr/bin/java -Xms256m
-Xmx1g -Xss256k -Djava.awt.headless=true -XX:+UseParNewGC -XX:
+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:
+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -
Delasticsearch -Des.foreground=yes -Des.path.home=/elasticsearch -cp
elasticsearch/lib/elasticsearch-0.19.8.jar:/elasticsearch/lib/
elasticsearch/lib/sigar/ org.elasticsearch.bootstrap.ElasticSearch