Should I give my machines more ram or put a new machine into the cluster?


(Andreas Wachter) #1

Hi,

I have a cluster with four data nodes. Those nodes have 6 cpus and 16gb of ram.
I have 15098 active shards in this cluster.

Should I put more ram in my machines or set up a new host for this cluster?

The problem is that sometimes elasticsearch kills itself because the heap space is running out.


(David Pilato) #2

You probably have too many shards per node.

May I suggest you look at the following resources about sizing:

https://www.elastic.co/elasticon/conf/2016/sf/quantitative-cluster-sizing

And https://www.elastic.co/webinars/using-rally-to-get-your-elasticsearch-cluster-size-right


(Christian Dahlqvist) #3

If you are suffering from heap pressure, I would recommend having a look at this webinar in addition to the resources David linked to.


(system) closed #4

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