# Threadpool settings

**URL:** <https://discuss.elastic.co/t/threadpool-settings/8594>\
**Category:** Elasticsearch\
**Created:** [August 1, 2012, 1:05pm UTC](https://discuss.elastic.co/t/threadpool-settings/8594 "2012-08-01T13:05:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![seant](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/seant/32/2792_2.png) [@seant](https://discuss.elastic.co/u/seant)\
**Post date:** [August 1, 2012, 1:05pm UTC](https://discuss.elastic.co/t/threadpool-settings/8594/1 "2012-08-01T13:05:57Z")

</div>

I've set my threadpool setting as follows:

threadpool:  
index:  
type: fixed  
size: 1  
wait\_time: 60s  
search:  
type: fixed  
size: 1  
wait\_time: 60s  
bulk:  
type: fixed  
max: 1  
wait\_time: 1000s  
refresh:  
type: fixed  
min: 1  
wait\_time: 1000s

...but I'm still seeing ~40 threads in htop.

I have 1 node w/ 1 shard and 0 replicas on es 0.19.7. Either my settings  
are being ignored or I'm missing something.

My overall goal is to reduce the es memory footprint (I've set min/max mem,  
reduced to 1 shard) ... is there anything else I should be doing to reduce  
es memory consumption?

Thanks.

---

<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 6, 2017, 3:18am UTC](https://discuss.elastic.co/t/threadpool-settings/8594/2 "2017-07-06T03:18:09Z")

</div>


