# Logstash consume a large amount of memory and CPU

**URL:** <https://discuss.elastic.co/t/logstash-consume-a-large-amount-of-memory-and-cpu/33861>\
**Category:** Logstash\
**Created:** [November 5, 2015, 12:03pm UTC](https://discuss.elastic.co/t/logstash-consume-a-large-amount-of-memory-and-cpu/33861 "2015-11-05T12:03:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pierre\_Jacquot](https://avatars.discourse-cdn.com/v4/letter/p/e274bd/32.png) [@Pierre\_Jacquot](https://discuss.elastic.co/u/Pierre_Jacquot)\
**Post date:** [November 5, 2015, 12:03pm UTC](https://discuss.elastic.co/t/logstash-consume-a-large-amount-of-memory-and-cpu/33861/1 "2015-11-05T12:03:00Z")

</div>

Hello,

We are making some implementation on our system of logstash in order to retrieve some information on differentes sources (BDD,FILE, JMX).  
We implemented 3 windows service that use the same logstash context with 3 different configuration (on input source for each kind of data to retrieve).

It's appear that theses 3 service consume a lot of CPU (20% each) withou any reason (no activity on the log during my check). I also not seen any relevant informations in log.

How could I control and validate what's not working as expected ?

Logstash Version (1.5.4)

---

<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, 5:23am UTC](https://discuss.elastic.co/t/logstash-consume-a-large-amount-of-memory-and-cpu/33861/2 "2017-07-06T05:23:54Z")

</div>


