# More Logstash threads?

**URL:** <https://discuss.elastic.co/t/more-logstash-threads/104084>\
**Category:** Logstash\
**Created:** [October 16, 2017, 11:03am UTC](https://discuss.elastic.co/t/more-logstash-threads/104084 "2017-10-16T11:03:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomer](https://avatars.discourse-cdn.com/v4/letter/t/41988e/32.png) [@tomer](https://discuss.elastic.co/u/tomer)\
**Post date:** [October 16, 2017, 11:03am UTC](https://discuss.elastic.co/t/more-logstash-threads/104084/1 "2017-10-16T11:03:20Z")

</div>

HI,

our Logstash does a lot of calculations and is getting stuck under a lot of info. The question is how to fix this, one way we saw was to raise the Xms and Xmx. Is there a way to give the logstash to work with more threads?

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [October 16, 2017, 11:51am UTC](https://discuss.elastic.co/t/more-logstash-threads/104084/2 "2017-10-16T11:51:41Z")

</div>

Have a look a the pipeline worker configuration setting.

---

<div class="post-metadata">

**Author:** ![tomer](https://avatars.discourse-cdn.com/v4/letter/t/41988e/32.png) [@tomer](https://discuss.elastic.co/u/tomer)\
**Post date:** [October 17, 2017, 10:42am UTC](https://discuss.elastic.co/t/more-logstash-threads/104084/3 "2017-10-17T10:42:04Z")

</div>

Hi,  
Thanks, you for the reply, in which config file is this by default?

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [October 17, 2017, 11:17am UTC](https://discuss.elastic.co/t/more-logstash-threads/104084/4 "2017-10-17T11:17:07Z")

</div>

The pipeline worker setting is configured in logstash.yml or on the command line.

---

<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:** [November 14, 2017, 11:17am UTC](https://discuss.elastic.co/t/more-logstash-threads/104084/5 "2017-11-14T11:17:20Z")

</div>

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