# Single Machine Cluster Setup - Are my elasticsearch 5.0.0 configurations proper?

**URL:** <https://discuss.elastic.co/t/single-machine-cluster-setup-are-my-elasticsearch-5-0-0-configurations-proper/69909>\
**Category:** Elasticsearch\
**Created:** [December 23, 2016, 11:32am UTC](https://discuss.elastic.co/t/single-machine-cluster-setup-are-my-elasticsearch-5-0-0-configurations-proper/69909 "2016-12-23T11:32:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chandra\_Kanth\_Nadiku](https://avatars.discourse-cdn.com/v4/letter/c/74df32/32.png) [@Chandra\_Kanth\_Nadiku](https://discuss.elastic.co/u/Chandra_Kanth_Nadiku)\
**Post date:** [December 23, 2016, 11:32am UTC](https://discuss.elastic.co/t/single-machine-cluster-setup-are-my-elasticsearch-5-0-0-configurations-proper/69909/1 "2016-12-23T11:32:49Z")

</div>

I am using elasticsearch 5.0.0 version. And chose to go with **single machine cluster setup** so that I can scale it by adding more machines later when load increases.. but I get an error - after elasticsearch runs for a few days..

**elasticsearch.yml:** only one machine with IP : 10.0.1.159, 16GB RAM, ubuntu 14.04  
cluster.name: elasticsearch  
node.name: es-01  
bootstrap.memory\_lock: true  
network.host: 10.0.1.159  
discovery.zen.ping.unicast.hosts: ["10.0.1.159"]

I have set environmental variable: export ES\_JAVA\_OPTS="-Xms8g -Xmx8g"

> sysctl -w vm.max\_map\_count=262144  
> and verified mmap is unlimited

* * *

My setup runs fine .. until after elasticsearch running for a few days.. I get this error from Java Transport client

NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{08UFeRP9RmCH4jMoV0RCNw}{10.0.1.159}{10.0.1.159:9300}]]  
at org.elasticsearch.client.transport.TransportClientNodesService.ensureNodesAreAvailable(TransportClientNodesService.java:314)

-- I should not be getting this error .. Am I doing something wrong with configuration  
I doubt if I have to write the same machines' ip address in unicast hosts property...

Please help

---

<div class="post-metadata">

**Author:** ![Igor\_Motov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/igor_motov/32/45193_2.png) [@Igor\_Motov](https://discuss.elastic.co/u/Igor_Motov)\
**Post date:** [December 26, 2016, 4:25pm UTC](https://discuss.elastic.co/t/single-machine-cluster-setup-are-my-elasticsearch-5-0-0-configurations-proper/69909/2 "2016-12-26T16:25:18Z")

</div>

What do you see in the elasticsearch log file? Does elasticsearch instance still run at this point? How do you recover from this issue?

---

<div class="post-metadata">

**Author:** ![Chandra\_Kanth\_Nadiku](https://avatars.discourse-cdn.com/v4/letter/c/74df32/32.png) [@Chandra\_Kanth\_Nadiku](https://discuss.elastic.co/u/Chandra_Kanth_Nadiku)\
**Post date:** [December 26, 2016, 4:46pm UTC](https://discuss.elastic.co/t/single-machine-cluster-setup-are-my-elasticsearch-5-0-0-configurations-proper/69909/3 "2016-12-26T16:46:50Z")

</div>

![](https://us1.discourse-cdn.com/elastic/original/2X/1/11aa7bfae3124abe07d55b6450d924f49d6e1778.jpg)

At that point , i see that elastic search uses much of ram.. and the system starts to hang.. i restart elastic search service to get it working..

---

<div class="post-metadata">

**Author:** ![Igor\_Motov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/igor_motov/32/45193_2.png) [@Igor\_Motov](https://discuss.elastic.co/u/Igor_Motov)\
**Post date:** [December 26, 2016, 4:56pm UTC](https://discuss.elastic.co/t/single-machine-cluster-setup-are-my-elasticsearch-5-0-0-configurations-proper/69909/4 "2016-12-26T16:56:13Z")

</div>

I was asking about elasticsearch log files (not your application log files). How did you determine that elasticsearch uses too much of ram?

---

<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:** [January 23, 2017, 4:56pm UTC](https://discuss.elastic.co/t/single-machine-cluster-setup-are-my-elasticsearch-5-0-0-configurations-proper/69909/5 "2017-01-23T16:56:12Z")

</div>

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