ElasticSearch Freezes on Start


#1

Hi,

I am trying to open elasticsearch with bin/elasticsearch it loads some modules and when it comes to x-pack it completely freezes the computer so I need to force-restart it. I followed the instructions here: https://www.elastic.co/start my computer is Win10. The last thing it says on command prompt is:

using rest wrapper from plugin org.elasticsearch....

Thanks


(David Pilato) #2

Wondering if it's because of Machine Learning.

Moved to #x-pack


(Tim Vernum) #3

Can you provide more details? Things that would be helpful are:

  • The contents of logs/elasticsearch.log
  • The precise version of elasticsearch you are running
  • The precise version of Windows, and the locale (language settings, etc)
  • What else is running on the machine (particularly virus scanners, or similar)

#4

Here is the output of the elasticsearch.log

[2017-10-23T11:23:11,750][INFO ][o.e.n.Node               ] [] initializing ...
[2017-10-23T11:23:12,080][INFO ][o.e.e.NodeEnvironment    ] [GjUy8DU] using [1] data paths, mounts [[(C:)]], net usable_space [366.3gb], net total_space [438.9gb], spins? [unknown], types [NTFS]
[2017-10-23T11:23:12,080][INFO ][o.e.e.NodeEnvironment    ] [GjUy8DU] heap size [2.9gb], compressed ordinary object pointers [true]
[2017-10-23T11:23:12,083][INFO ][o.e.n.Node               ] node name [GjUy8DU] derived from node ID [GjUy8DU3TFGY2IePC1AIfQ]; set [node.name] to override
[2017-10-23T11:23:12,083][INFO ][o.e.n.Node               ] version[5.6.1], pid[9912], build[667b497/2017-09-14T19:22:05.189Z], OS[Windows 10/10.0/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_144/25.144-b01]
[2017-10-23T11:23:12,083][INFO ][o.e.n.Node               ] JVM arguments [-Xms3g, -Xmx3g, -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, -Delasticsearch, -Des.path.home=C:\Elastic\elasticsearch-5.6.1]
[2017-10-23T11:23:17,823][INFO ][o.e.p.PluginsService     ] [GjUy8DU] loaded module [aggs-matrix-stats]
[2017-10-23T11:23:17,823][INFO ][o.e.p.PluginsService     ] [GjUy8DU] loaded module [ingest-common]
[2017-10-23T11:23:17,823][INFO ][o.e.p.PluginsService     ] [GjUy8DU] loaded module [lang-expression]
[2017-10-23T11:23:17,824][INFO ][o.e.p.PluginsService     ] [GjUy8DU] loaded module [lang-groovy]
[2017-10-23T11:23:17,824][INFO ][o.e.p.PluginsService     ] [GjUy8DU] loaded module [lang-mustache]
[2017-10-23T11:23:17,824][INFO ][o.e.p.PluginsService     ] [GjUy8DU] loaded module [lang-painless]
[2017-10-23T11:23:17,824][INFO ][o.e.p.PluginsService     ] [GjUy8DU] loaded module [parent-join]
[2017-10-23T11:23:17,824][INFO ][o.e.p.PluginsService     ] [GjUy8DU] loaded module [percolator]
[2017-10-23T11:23:17,825][INFO ][o.e.p.PluginsService     ] [GjUy8DU] loaded module [reindex]
[2017-10-23T11:23:17,825][INFO ][o.e.p.PluginsService     ] [GjUy8DU] loaded module [transport-netty3]
[2017-10-23T11:23:17,825][INFO ][o.e.p.PluginsService     ] [GjUy8DU] loaded module [transport-netty4]
[2017-10-23T11:23:17,825][INFO ][o.e.p.PluginsService     ] [GjUy8DU] loaded plugin [x-pack]
[2017-10-23T11:23:27,363][DEBUG][o.e.a.ActionModule       ] Using REST wrapper from plugin org.elasticsearch.xpack.XPackPlugin
[2017-10-23T11:23:38,225][ERROR][o.e.b.Bootstrap          ] Exception
org.elasticsearch.ElasticsearchException: Failed to create native process factories for Machine Learning
	at org.elasticsearch.xpack.ml.MachineLearning.createComponents(MachineLearning.java:293) ~[?:?]
	at org.elasticsearch.xpack.XPackPlugin.createComponents(XPackPlugin.java:301) ~[?:?]
	at org.elasticsearch.node.Node.lambda$new$7(Node.java:412) ~[elasticsearch-5.6.1.jar:5.6.1]
	at java.util.stream.ReferencePipeline$7$1.accept(Unknown Source) ~[?:1.8.0_144]
	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source) ~[?:1.8.0_144]
	at java.util.stream.AbstractPipeline.copyInto(Unknown Source) ~[?:1.8.0_144]
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) ~[?:1.8.0_144]
	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source) ~[?:1.8.0_144]
	at java.util.stream.AbstractPipeline.evaluate(Unknown Source) ~[?:1.8.0_144]
	at java.util.stream.ReferencePipeline.collect(Unknown Source) ~[?:1.8.0_144]
	at org.elasticsearch.node.Node.<init>(Node.java:414) ~[elasticsearch-5.6.1.jar:5.6.1]
	at org.elasticsearch.node.Node.<init>(Node.java:245) ~[elasticsearch-5.6.1.jar:5.6.1]
	at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:233) ~[elasticsearch-5.6.1.jar:5.6.1]
	at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:233) ~[elasticsearch-5.6.1.jar:5.6.1]
	at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:342) [elasticsearch-5.6.1.jar:5.6.1]
	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:132) [elasticsearch-5.6.1.jar:5.6.1]
	at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:123) [elasticsearch-5.6.1.jar:5.6.1]
	at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:67) 
	at org.elasticsearch.node.Node.<init>(Node.java:414) ~[elasticsearch-5.6.1.jar:5.6.1]
	at org.elasticsearch.node.Node.<init>(Node.java:245) ~[elasticsearch-5.6.1.jar:5.6.1]
	at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:233) ~[elasticsearch-5.6.1.jar:5.6.1]
	at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:233) ~[elasticsearch-5.6.1.jar:5.6.1]
	at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:342) ~[elasticsearch-5.6.1.jar:5.6.1]
	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:132) ~[elasticsearch-5.6.1.jar:5.6.1]
	... 6 more
Caused by: java.io.FileNotFoundException: \\.\pipe\controller_log_9912 (Sistem belirtilen dosyayı bulamıyor)
	at java.io.FileInputStream.open0(Native Method) ~[?:1.8.0_144]
	at java.io.FileInputStream.open(Unknown Source) ~[?:1.8.0_144]
	at java.io.FileInputStream.<init>(Unknown Source) ~[?:1.8.0_144]
	at java.io.FileInputStream.<init>(Unknown Source) ~[?:1.8.0_144]
	at org.elasticsearch.xpack.ml.utils.NamedPipeHelper$PrivilegedInputPipeOpener.run(NamedPipeHelper.java:297) ~[?:?]
	at org.elasticsearch.xpack.ml.utils.NamedPipeHelper$PrivilegedInputPipeOpener.run(NamedPipeHelper.java:286) ~[?:?]
	... 6 more

I currently try to run elasticsearch 5.6.1. My operating system is Windows 10 Pro 64 bit Turkish. I only use Windows Defender as an antivirus. Hope this helps to clarify the problem.

Edit: I increased the memory heap of JVM to 3GB and then tried to run elastic again. This time it passed the xpack part but gave this error.


#5

I have excluded some errors because of the character limit. I have also tried moving x-pack directory to somewhere else and elastic has run without a fuzz. I think it definetely is about x-pack.


(system) #6

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