# ElasticSearch Freezes on Start

**URL:** <https://discuss.elastic.co/t/elasticsearch-freezes-on-start/103388>\
**Category:** Elasticsearch\
**Created:** [October 10, 2017, 2:12pm UTC](https://discuss.elastic.co/t/elasticsearch-freezes-on-start/103388 "2017-10-10T14:12:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kelevra](https://avatars.discourse-cdn.com/v4/letter/k/97f17d/32.png) [@kelevra](https://discuss.elastic.co/u/kelevra)\
**Post date:** [October 10, 2017, 2:12pm UTC](https://discuss.elastic.co/t/elasticsearch-freezes-on-start/103388/1 "2017-10-10T14:12:34Z")

</div>

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](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

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [October 10, 2017, 2:25pm UTC](https://discuss.elastic.co/t/elasticsearch-freezes-on-start/103388/2 "2017-10-10T14:25:43Z")

</div>

Wondering if it's because of Machine Learning.

Moved to #x-pack

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [October 10, 2017, 11:51pm UTC](https://discuss.elastic.co/t/elasticsearch-freezes-on-start/103388/3 "2017-10-10T23:51:06Z")

</div>

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)

---

<div class="post-metadata">

**Author:** ![kelevra](https://avatars.discourse-cdn.com/v4/letter/k/97f17d/32.png) [@kelevra](https://discuss.elastic.co/u/kelevra)\
**Post date:** [October 23, 2017, 8:12am UTC](https://discuss.elastic.co/t/elasticsearch-freezes-on-start/103388/4 "2017-10-23T08:12:36Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![kelevra](https://avatars.discourse-cdn.com/v4/letter/k/97f17d/32.png) [@kelevra](https://discuss.elastic.co/u/kelevra)\
**Post date:** [October 23, 2017, 8:29am UTC](https://discuss.elastic.co/t/elasticsearch-freezes-on-start/103388/5 "2017-10-23T08:29:50Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 20, 2017, 8:30am UTC](https://discuss.elastic.co/t/elasticsearch-freezes-on-start/103388/6 "2017-11-20T08:30:07Z")

</div>

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