# Reduce number of ES processes

**URL:** <https://discuss.elastic.co/t/reduce-number-of-es-processes/7830>\
**Category:** Elasticsearch\
**Created:** [May 23, 2012, 11:34pm UTC](https://discuss.elastic.co/t/reduce-number-of-es-processes/7830 "2012-05-23T23:34:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nick\_Hoffman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nick_hoffman/32/1872_2.png) [@Nick\_Hoffman](https://discuss.elastic.co/u/Nick_Hoffman)\
**Post date:** [May 23, 2012, 11:34pm UTC](https://discuss.elastic.co/t/reduce-number-of-es-processes/7830/1 "2012-05-23T23:34:13Z")

</div>

Hi guys. Is there a way to reduce the number of processes that ES spawns?  
With an index that's less than 20MB, htop shows 43 of these processes:

/usr/lib/jvm/java-6-openjdk/bin/java -Xms16m -Xmx64m -Xss128k  
-XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled  
-XX:SurvivorRatio=8 -XX:MaxTenuringThreshold=1  
-XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiati

Thanks,  
Nick

---

<div class="post-metadata">

**Author:** ![otisg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/otisg/32/492_2.png) [@otisg](https://discuss.elastic.co/u/otisg)\
**Post date:** [May 24, 2012, 4:37am UTC](https://discuss.elastic.co/t/reduce-number-of-es-processes/7830/2 "2012-05-24T04:37:59Z")

</div>

Nick,

I think you are seeing threads, not really processes.

## Otis

Search Analytics - [Cloud Monitoring Tools & Services | Sematext](http://sematext.com/search-analytics/index.html)  
Scalable Performance Monitoring - [Sematext Monitoring | Infrastructure Monitoring Service](http://sematext.com/spm/index.html)

On Wednesday, May 23, 2012 7:34:13 PM UTC-4, Nick Hoffman wrote:

> Hi guys. Is there a way to reduce the number of processes that ES spawns?  
> With an index that's less than 20MB, htop shows 43 of these processes:
> 
> /usr/lib/jvm/java-6-openjdk/bin/java -Xms16m -Xmx64m -Xss128k  
> -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled  
> -XX:SurvivorRatio=8 -XX:MaxTenuringThreshold=1  
> -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiati
> 
> Thanks,  
> Nick

---

<div class="post-metadata">

**Author:** ![Nick\_Hoffman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nick_hoffman/32/1872_2.png) [@Nick\_Hoffman](https://discuss.elastic.co/u/Nick_Hoffman)\
**Post date:** [May 24, 2012, 5:06am UTC](https://discuss.elastic.co/t/reduce-number-of-es-processes/7830/3 "2012-05-24T05:06:41Z")

</div>

You're right, Otis! Thanks for that. I completely forgot about hiding  
threads.

Cheers,  
Nick

On Thursday, 24 May 2012 00:37:59 UTC-4, Otis Gospodnetic wrote:

> Nick,
> 
> I think you are seeing threads, not really processes.
> 
> Otis

---

<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:27am UTC](https://discuss.elastic.co/t/reduce-number-of-es-processes/7830/4 "2017-07-06T03:27:20Z")

</div>


