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


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.

You probably have too many shards per node.

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


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

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