# Advise on How to optimize the ElasticStack

**URL:** https://discuss.elastic.co/t/advise-on-how-to-optimize-the-elasticstack/157579
**Category:** Elasticsearch
**Created:** [November 20, 2018, 3:37pm UTC](https://discuss.elastic.co/t/advise-on-how-to-optimize-the-elasticstack/157579 "2018-11-20T15:37:21Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![titan1978](https://avatars.discourse-cdn.com/v4/letter/t/c37758/32.png) [@titan1978](https://discuss.elastic.co/u/titan1978)
#### Post date: [November 20, 2018, 3:37pm UTC](https://discuss.elastic.co/t/advise-on-how-to-optimize-the-elasticstack/157579/1 "2018-11-20T15:37:22Z")

</div>

Hello all - we have a bunch of elasticsearch Nodes running (5 Master/2 Coordinating). Was looking at the community's advise on the current configuration. I feel that JVM Settings may be less than optimal - any comments/suggestions from veterans by seeing this snapshot of a master node will help

![image](https://us1.discourse-cdn.com/elastic/original/3X/5/5/55d92f2c64aaf732d02d326da36a33de134eec6a.png)

---

<div class="post-metadata">

### Author: ![byronvoorbach](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/byronvoorbach/32/8283_2.png) [@byronvoorbach](https://discuss.elastic.co/u/byronvoorbach)
#### Post date: [November 20, 2018, 3:41pm UTC](https://discuss.elastic.co/t/advise-on-how-to-optimize-the-elasticstack/157579/2 "2018-11-20T15:41:54Z")

</div>

Hi!

Are your instances of ES all running on their own machine comparable to the output you just posted? If that case, since you have 65GB of RAM available, you should probably bump up your HEAP size for the ES JVM. Play around with different values (not exceeding 32G).

For some reference: [check here](https://www.elastic.co/blog/a-heap-of-trouble)

The rest of the image doesn't say much about how your ES is configured 🙂

Hope this helps

---

<div class="post-metadata">

### Author: ![titan1978](https://avatars.discourse-cdn.com/v4/letter/t/c37758/32.png) [@titan1978](https://discuss.elastic.co/u/titan1978)
#### Post date: [November 20, 2018, 6:22pm UTC](https://discuss.elastic.co/t/advise-on-how-to-optimize-the-elasticstack/157579/3 "2018-11-20T18:22:03Z")

</div>

thats correct. I have one Ec2 Instance per node. So I do have plenty of RAM to play with. I assume 30 gigs of Heap should be optimal enough in order to use compressed pointers on an RHEL Linux Distro running Open JDK1.8?

---

<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 18, 2018, 6:22pm UTC](https://discuss.elastic.co/t/advise-on-how-to-optimize-the-elasticstack/157579/4 "2018-12-18T18:22:06Z")

</div>

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