# IllegalStateException when starting logstash with pipeline.workers

**URL:** <https://discuss.elastic.co/t/illegalstateexception-when-starting-logstash-with-pipeline-workers/174007>\
**Category:** Logstash\
**Created:** [March 26, 2019, 8:29pm UTC](https://discuss.elastic.co/t/illegalstateexception-when-starting-logstash-with-pipeline-workers/174007 "2019-03-26T20:29:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![elasticforme](https://avatars.discourse-cdn.com/v4/letter/e/f05b48/32.png) [@elasticforme](https://discuss.elastic.co/u/elasticforme)\
**Post date:** [March 26, 2019, 8:29pm UTC](https://discuss.elastic.co/t/illegalstateexception-when-starting-logstash-with-pipeline-workers/174007/1 "2019-03-26T20:29:39Z")

</div>

I have a weired problem.  
as soon as I turn on  
pipeline.workers:1  
on my piplelines.yml file logstash fails starting up with following error.

[2019-03-26T20:24:12,469][ERROR][org.logstash.Logstash] java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit

As soon as I put that line in comment and restart logstash it works fine.

But then on another cluster I have this feature enable and setup for each pipeline.  
What am I missing?

---

<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:** [April 23, 2019, 8:29pm UTC](https://discuss.elastic.co/t/illegalstateexception-when-starting-logstash-with-pipeline-workers/174007/2 "2019-04-23T20:29:51Z")

</div>

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