# Logstash fails to restart after the queue size is full

**URL:** https://discuss.elastic.co/t/logstash-fails-to-restart-after-the-queue-size-is-full/263278
**Category:** Logstash
**Created:** [February 4, 2021, 6:10pm UTC](https://discuss.elastic.co/t/logstash-fails-to-restart-after-the-queue-size-is-full/263278 "2021-02-04T18:10:17Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Animesh\_Agarwal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/animesh_agarwal/32/80330_2.png) [@Animesh\_Agarwal](https://discuss.elastic.co/u/Animesh_Agarwal)
#### Post date: [February 4, 2021, 6:10pm UTC](https://discuss.elastic.co/t/logstash-fails-to-restart-after-the-queue-size-is-full/263278/1 "2021-02-04T18:10:17Z")

</div>

Hi Team,

We have enabled persistent queue on our logstash servers.

```auto
queue.path is /var/lib/logstash
queue.max_bytes=30gb 

```

The logstash queue was full and I had restarted logstash service. Logstash fails to restart with exception "Logstash failed to create queue at org.logstash.ackedqueue.Queue.ensureDiskAvailable(Queue.java:811) ~[logstash-core.jar:?]"

The disk space for the queue directory is 60GB and I tried changed the `queue.max_bytes` to 40GB. Even then logstash fails to restart with the same exception. Why does the service fail to restart even after increasing the queue size?

I have also checked the inode usage. The inode usage is low and so this is not causing the issue.

We don't want to delete the queue. Please propose if there's an alternate solution ?

---

<div class="post-metadata">

### Author: ![Animesh\_Agarwal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/animesh_agarwal/32/80330_2.png) [@Animesh\_Agarwal](https://discuss.elastic.co/u/Animesh_Agarwal)
#### Post date: [February 15, 2021, 4:56pm UTC](https://discuss.elastic.co/t/logstash-fails-to-restart-after-the-queue-size-is-full/263278/2 "2021-02-15T16:56:56Z")

</div>

Hi Team,

Please let us know if there is any solution. We are stuck in this.

---

<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: [March 15, 2021, 4:57pm UTC](https://discuss.elastic.co/t/logstash-fails-to-restart-after-the-queue-size-is-full/263278/3 "2021-03-15T16:57:01Z")

</div>

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