From the picture, is it a good idea to add an instance with the same configuration?
The memory usage would be around 90+GB.
I also found GC overhead log. For example, [2019-05-10T18:34:51,377][INFO ][o.e.m.j.JvmGcMonitorService] [10.49.112.143-hdata-node-1][gc][5454] overhead, spent [367ms] collecting in the last [1.1s]
It is recommended to use at most 50% of RAM for heap which is roughly what you have got at the moment. Elasticsearch required off-heap memory and relies on the OS page cache for performance so I would not recommend adding any further node.
Also, that log message does not necessarily indicate any GC problem. What does your heap usage look like over time? Do you have a nice saw-tooth pattern?
At the right of Indexing Time (ms) graph, you will see that the value was growing rapidly because I added the third instance with the same configuration (heap size 31G)
I think the increasing of the indexing time relates to the shard relocation when I added the new node.
For the new node, the JVM still have a nice saw-tooth.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.