We have enabled persistent queue on our logstash servers.
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 ?