# Logstash consuming too many resources

**URL:** <https://discuss.elastic.co/t/logstash-consuming-too-many-resources/305201>\
**Category:** Logstash\
**Created:** [May 19, 2022, 2:25pm UTC](https://discuss.elastic.co/t/logstash-consuming-too-many-resources/305201 "2022-05-19T14:25:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Simone1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simone1/32/97834_2.png) [@Simone1](https://discuss.elastic.co/u/Simone1)\
**Post date:** [May 19, 2022, 2:25pm UTC](https://discuss.elastic.co/t/logstash-consuming-too-many-resources/305201/1 "2022-05-19T14:25:35Z")

</div>

Logstash is consuming a lot of memory and there are many hanging processes redirecting output to temporary files that seem to be no longer available.

Example of one process:

```auto
root Ss May01 0:00 sh -c /sbin/blkid >>/tmp/vindexing_c2c3dca7-ea7a-4ccc-af59-80babb9bcfaf/temp_56cd7019-6643-4444-b19a-4f0dd4b301d3/blkid.txt

```

Anyone can help me on reducing the consuming of resources or to understand from where this processes are coming from?  
Logstash version 7.9.2

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [May 19, 2022, 3:18pm UTC](https://discuss.elastic.co/t/logstash-consuming-too-many-resources/305201/2 "2022-05-19T15:18:50Z")

</div>

What makes you think that that process has anything to do with logstash?

---

<div class="post-metadata">

**Author:** ![Simone1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simone1/32/97834_2.png) [@Simone1](https://discuss.elastic.co/u/Simone1)\
**Post date:** [May 20, 2022, 6:47am UTC](https://discuss.elastic.co/t/logstash-consuming-too-many-resources/305201/3 "2022-05-20T06:47:13Z")

</div>

The fact that Logstash is consuming a lot of resources is sure...the fact that this processes have something to do with Logstash is my thought

---

<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:** [June 17, 2022, 6:47am UTC](https://discuss.elastic.co/t/logstash-consuming-too-many-resources/305201/4 "2022-06-17T06:47:15Z")

</div>

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