If you use the stock init scripts they'll load the /etc/default (or /etc/sysconfig) file with the same name, i.e. /etc/init.d/elasticsearch-foo loads /etc/default/elasticsearch-foo so just set ES_HEAP_SIZE in the file corresponding to each instance.
If you use the stock init scripts they'll load the /etc/default (or /etc/sysconfig) file with the same name, i.e. /etc/init.d/elasticsearch-foo loads /etc/default/elasticsearch-foo so just set ES_HEAP_SIZE in the file corresponding to each instance.
© 2020. All Rights Reserved - Elasticsearch
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.