0

I running Elasticsearch (version 2.x) on ubuntu. Single node cluster. By default, the max heap size is limited to 1GB. I have two more GBs to allocate for ES heap.

According to official document:

  1. Opened the file /etc/init.d/elasticsearch for editing.
  2. I changed the ES_HEAP_SIZE variable of the file to "3gb" and saved the file.

ES_HEAP_SIZE=3g

  1. According to this solution, I also modified the security limits of the file /etc/security/limits.conf by adding those lines:

elasticsearch - nofile 65535

elasticsearch - memlock unlimited

  1. called service restart sudo service elasticsearch restart

At this point, I'm expected to find that my ES node is consuming up to 3GB. I'm entered my kopf plugin (monitoring plugin) and saw that max heap size is 1GB (no changes).

enter image description here

What I missing? How to fix?

Community
  • 1
  • 1
No1Lives4Ever
  • 6,430
  • 19
  • 77
  • 140

0 Answers0