# Elasticsearch startup is waiting and takes 7 minutes to start

**URL:** https://discuss.elastic.co/t/elasticsearch-startup-is-waiting-and-takes-7-minutes-to-start/156300
**Category:** Elasticsearch
**Created:** [November 12, 2018, 2:00pm UTC](https://discuss.elastic.co/t/elasticsearch-startup-is-waiting-and-takes-7-minutes-to-start/156300 "2018-11-12T14:00:35Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![benwill](https://avatars.discourse-cdn.com/v4/letter/b/c37758/32.png) [@benwill](https://discuss.elastic.co/u/benwill)
#### Post date: [November 12, 2018, 2:00pm UTC](https://discuss.elastic.co/t/elasticsearch-startup-is-waiting-and-takes-7-minutes-to-start/156300/1 "2018-11-12T14:00:36Z")

</div>

Hello,

I have a cluster with 2 nodes (another 1 will be added later). I made a fresh install. There is no data on ES. But on one node it takes 7 minutes to start. The system has 64GB ram but i can use with -Xms16g. If i set -Xms32g the system hangs and i wait 10 minutes, ES never start.

It is same on second node.

What can i do for this, any idea?

EDIT:  
System Has 24 Core AMD CPU  
64 GB Ram  
Ubuntu 16.04 LTS  
ES installed from apt repo.

Best Regards

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [November 13, 2018, 8:18am UTC](https://discuss.elastic.co/t/elasticsearch-startup-is-waiting-and-takes-7-minutes-to-start/156300/2 "2018-11-13T08:18:02Z")

</div>

Is there anything in the Elasticsearch logs?

---

<div class="post-metadata">

### Author: ![benwill](https://avatars.discourse-cdn.com/v4/letter/b/c37758/32.png) [@benwill](https://discuss.elastic.co/u/benwill)
#### Post date: [November 13, 2018, 8:34am UTC](https://discuss.elastic.co/t/elasticsearch-startup-is-waiting-and-takes-7-minutes-to-start/156300/3 "2018-11-13T08:34:02Z")

</div>

Nothing on logs. After starting ES, it waits for 7-8 minutes (no logs for this time), then it is starting normally (after this point, logs are ok)

> [2018-11-13T10:18:22,022][INFO][o.e.x.m.j.p.NativeController] Native controller process has stopped - no new native processes can be star$  
> [2018-11-13T10:18:22,216][INFO][o.e.n.Node] [elastic1] stopped  
> [2018-11-13T10:18:22,216][INFO][o.e.n.Node] [elastic1] closing ...  
> [2018-11-13T10:18:22,270][INFO][o.e.n.Node] [elastic1] closed  
> [2018-11-13T10:27:03,964][INFO][o.e.n.Node] [elastic1] initializing ...  
> [2018-11-13T10:27:04,273][INFO][o.e.e.NodeEnvironment] [elastic1] using [1] data paths, mounts [[/var/lib/elasticsearch (/dev/vdb1)]]$  
> [2018-11-13T10:27:04,274][INFO][o.e.e.NodeEnvironment] [elastic1] heap size [15.8gb], compressed ordinary object pointers [true]  
> [2018-11-13T10:27:04,293][INFO][o.e.n.Node] [elastic1] node name [elastic1], node ID [dAFIwOd9RSyIaUbkFhePeA]

You can see after restart at 10:18, logs are started at 10:27.

---

<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: [December 11, 2018, 8:34am UTC](https://discuss.elastic.co/t/elasticsearch-startup-is-waiting-and-takes-7-minutes-to-start/156300/4 "2018-12-11T08:34:07Z")

</div>

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