# java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit

**URL:** <https://discuss.elastic.co/t/java-lang-illegalstateexception-logstash-stopped-processing-because-of-an-error-systemexit-exit/338620>\
**Category:** Logstash\
**Tags:** elastic-stack-monitoring, elastic-stack-security, elastic-stack-alerting\
**Created:** [July 18, 2023, 2:34am UTC](https://discuss.elastic.co/t/java-lang-illegalstateexception-logstash-stopped-processing-because-of-an-error-systemexit-exit/338620 "2023-07-18T02:34:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nghia\_D\_ng](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nghia_d_ng/32/123483_2.png) [@Nghia\_D\_ng](https://discuss.elastic.co/u/Nghia_D_ng)\
**Post date:** [July 18, 2023, 2:34am UTC](https://discuss.elastic.co/t/java-lang-illegalstateexception-logstash-stopped-processing-because-of-an-error-systemexit-exit/338620/1 "2023-07-18T02:34:47Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/5/3/53d0541c294881a9e764d20bcbaae03987347649.jpeg)

Please help me!

---

<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:** [July 18, 2023, 3:18am UTC](https://discuss.elastic.co/t/java-lang-illegalstateexception-logstash-stopped-processing-because-of-an-error-systemexit-exit/338620/2 "2023-07-18T03:18:52Z")

</div>

Please do not post images of text. They are not searchable, some people will be unable to see them, and we cannot cut and paste text when we are interested in reproducing your issue.

The error is that /var/lib/logstash/queue is not writeable by the user that is running logstash. That probably means you are using persistent queues. How have you configured path.queue?

---

<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:** [August 15, 2023, 3:19am UTC](https://discuss.elastic.co/t/java-lang-illegalstateexception-logstash-stopped-processing-because-of-an-error-systemexit-exit/338620/3 "2023-08-15T03:19:09Z")

</div>

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