# Configuration for master node in YAML

**URL:** <https://discuss.elastic.co/t/configuration-for-master-node-in-yaml/275975>\
**Category:** Elasticsearch\
**Created:** [June 15, 2021, 10:09am UTC](https://discuss.elastic.co/t/configuration-for-master-node-in-yaml/275975 "2021-06-15T10:09:01Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![krish0608](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/krish0608/32/6797_2.png) [@krish0608](https://discuss.elastic.co/u/krish0608)\
**Post date:** [June 15, 2021, 10:09am UTC](https://discuss.elastic.co/t/configuration-for-master-node-in-yaml/275975/1 "2021-06-15T10:09:01Z")

</div>

Hi Team,

I have configured big cluster in my production env. just wanted to confirm do we need to allocate half of memory in master node also. Suppose i have 16G node and do i need to allocate 8G in jvm options file what if i allocate let say 6G does this will effect my reindexing process which is happening in master nodes.  
Actually i have configured it with 6G in prod env. but my reindexing is taking so much time to complete i have data in GB's.

Also i want to clarify one do i need to set half of memory as recommended by elasticsearch, in kibana server also. Could you please help me out suitable configuration for kibana servers if i have 16G node.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 15, 2021, 10:46pm UTC](https://discuss.elastic.co/t/configuration-for-master-node-in-yaml/275975/2 "2021-06-15T22:46:20Z")

</div>

You can be a bit more nuanced with _master only_ nodes, as they don't hold data. This means you can use more than 50%, eg 75% or so depending on how much you have on the host.

---

<div class="post-metadata">

**Author:** ![krish0608](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/krish0608/32/6797_2.png) [@krish0608](https://discuss.elastic.co/u/krish0608)\
**Post date:** [June 16, 2021, 9:03am UTC](https://discuss.elastic.co/t/configuration-for-master-node-in-yaml/275975/3 "2021-06-16T09:03:59Z")

</div>

Thanks for your support. is there possibility that if we not define only 50% of memory to master node as it does not contain data then our reindexing process will become slow??

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 17, 2021, 12:52am UTC](https://discuss.elastic.co/t/configuration-for-master-node-in-yaml/275975/4 "2021-06-17T00:52:00Z")

</div>

I can't think why that would happen, no.

---

<div class="post-metadata">

**Author:** ![krish0608](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/krish0608/32/6797_2.png) [@krish0608](https://discuss.elastic.co/u/krish0608)\
**Post date:** [June 17, 2021, 7:45am UTC](https://discuss.elastic.co/t/configuration-for-master-node-in-yaml/275975/5 "2021-06-17T07:45:16Z")

</div>

Thanks warkolm for your revert. I am doing re-indexing and primary and replica size is 300 GB each but re-indexing is in progress from last 15 days. Is it expected to take this much time for re-indexing of 300 GB data? If no, what should I check for this slowness.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 17, 2021, 8:15am UTC](https://discuss.elastic.co/t/configuration-for-master-node-in-yaml/275975/6 "2021-06-17T08:15:45Z")

</div>

It might be better to create a new topic on that, as it's a little outside of your original question 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 15, 2021, 8:16am UTC](https://discuss.elastic.co/t/configuration-for-master-node-in-yaml/275975/7 "2021-07-15T08:16:23Z")

</div>

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