# "RegEx Interrupted" and "Interrupted waiting for mutex" crashes

**URL:** <https://discuss.elastic.co/t/regex-interrupted-and-interrupted-waiting-for-mutex-crashes/104128>\
**Category:** Logstash\
**Created:** [October 16, 2017, 5:11pm UTC](https://discuss.elastic.co/t/regex-interrupted-and-interrupted-waiting-for-mutex-crashes/104128 "2017-10-16T17:11:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel314](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/daniel314/32/21668_2.png) [@Daniel314](https://discuss.elastic.co/u/Daniel314)\
**Post date:** [October 16, 2017, 5:11pm UTC](https://discuss.elastic.co/t/regex-interrupted-and-interrupted-waiting-for-mutex-crashes/104128/1 "2017-10-16T17:11:27Z")

</div>

This is an update to the other topics I created about this issue ([RegExp interrupted](https://discuss.elastic.co/t/logstash-5-4-3-crash-regexp-interrupted-error-s/98757) and [Interrupted waiting for mutex](https://discuss.elastic.co/t/logstash-5-4-3-crash-interrupted-waiting-for-mutex-null-in-dns-resolver/98858))

In my environment I am using Kafka, and it is pulling from a firehose of data and pushing to a sorely overloaded ES server (and constantly falling behind). I recently upgraded to LogStash 5.6.2, and that version passes Kafka feedback to the console. As a result of that feedback (it was complaining about threads being too slow to service the Kafka event queue), I shrunk the Kafka batch size waaaaay down (it's unset by default -- according to the documentation), and now I no longer get these errors and LogStash isn't crashing anymore.

So, FYI in case anyone else is experiencing these errors/crashes with LogStash.

---

<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 13, 2017, 5:11pm UTC](https://discuss.elastic.co/t/regex-interrupted-and-interrupted-waiting-for-mutex-crashes/104128/2 "2017-11-13T17:11:29Z")

</div>

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