# Logstash crashes when ES isn't available

**URL:** <https://discuss.elastic.co/t/logstash-crashes-when-es-isnt-available/132390>\
**Category:** Logstash\
**Created:** [May 17, 2018, 7:53pm UTC](https://discuss.elastic.co/t/logstash-crashes-when-es-isnt-available/132390 "2018-05-17T19:53:05Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![RobBavey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/robbavey/32/20421_2.png) [@RobBavey](https://discuss.elastic.co/u/RobBavey)\
**Post date:** [May 29, 2018, 3:57pm UTC](https://discuss.elastic.co/t/logstash-crashes-when-es-isnt-available/132390/8 "2018-05-29T15:57:56Z")

</div>

@CasMeiron

Looking at that issue, I suspect the problem you are having with the pq may be the value of the `max_bytes` setting. It is set to `1024`, which translates to a maximum queue size of 1024 bytes. Try increasing it to something higher - the default value is `1024mb`

---

_[View the full topic](https://discuss.elastic.co/t/logstash-crashes-when-es-isnt-available/132390)._
