# Logstash-6.2.4-1 persisted queue hung again

**URL:** <https://discuss.elastic.co/t/logstash-6-2-4-1-persisted-queue-hung-again/129374>\
**Category:** Logstash\
**Created:** [April 24, 2018, 8:41pm UTC](https://discuss.elastic.co/t/logstash-6-2-4-1-persisted-queue-hung-again/129374 "2018-04-24T20:41:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![PandKing](https://avatars.discourse-cdn.com/v4/letter/p/258eb7/32.png) [@PandKing](https://discuss.elastic.co/u/PandKing)\
**Post date:** [April 24, 2018, 8:41pm UTC](https://discuss.elastic.co/t/logstash-6-2-4-1-persisted-queue-hung-again/129374/1 "2018-04-24T20:41:39Z")

</div>

Spent a couple hours looking through the forum. Lots of people talking about persisted queues not processing but have not seen any solutions to troubleshoot.

This seems to be a single file that needs to be looked at 55940 How can I fix that file and process the rest ?

[2018-04-24T17:34:03,691][DEBUG][org.logstash.ackedqueue.Queue] opening tail page: 55938, in: /opt/logstash/queue/main, with checkpoint: pageNum=55938, firstUnackedPageNum=0, firstUnackedSeqNum=1321359026, minSeqNum=1321359026, elementCount=23257, isFullyAcked=no  
[2018-04-24T17:34:03,811][DEBUG][org.logstash.ackedqueue.Queue] opening tail page: 55939, in: /opt/logstash/queue/main, with checkpoint: pageNum=55939, firstUnackedPageNum=0, firstUnackedSeqNum=1321382283, minSeqNum=1321382283, elementCount=23530, isFullyAcked=no  
[2018-04-24T17:34:03,847][DEBUG][logstash.instrument.periodicpoller.persistentqueue] e=nil, @value\_is\_set=false, @klass=Fixnum, @default=3000000000, @validator\_proc=nil\>, "config.support\_escapes"=\>#\<LogStash::Setting::Boolean:0x402bfcec @name="config.support\_escapes", @value=nil, @value\_is\_set=false, @klass=Object,  
..........  
:polling\_interval=\>5, :exception=\>Concurrent::TimeoutError, :executed\_at=\>2018-04-24 17:34:03 -0400}  
[2018-04-24T17:34:04,009][DEBUG][org.logstash.ackedqueue.Queue] opening tail page: 55941, in: /opt/logstash/queue/main, with checkpoint: pageNum=55941, firstUnackedPageNum=0, firstUnackedSeqNum=1321429580, minSeqNum=1321429580, elementCount=24623, isFullyAcked=no  
[2018-04-24T17:34:04,110][DEBUG][org.logstash.ackedqueue.Queue] opening tail page: 55942, in: /opt/logstash/queue/main, with checkpoint: pageNum=55942, firstUnackedPageNum=0, firstUnackedSeqNum=1321454203, minSeqNum=1321454203, elementCount=24259, isFullyAcked=no

---

<div class="post-metadata">

**Author:** ![PandKing](https://avatars.discourse-cdn.com/v4/letter/p/258eb7/32.png) [@PandKing](https://discuss.elastic.co/u/PandKing)\
**Post date:** [April 24, 2018, 8:52pm UTC](https://discuss.elastic.co/t/logstash-6-2-4-1-persisted-queue-hung-again/129374/2 "2018-04-24T20:52:20Z")

</div>

Tried just removing the checkpoint and page file.  
"IOError", :message=\>"java.nio.file.NoSuchFileException: /opt/logstash/queue/main/checkpoint.55940",

---

<div class="post-metadata">

**Author:** ![PandKing](https://avatars.discourse-cdn.com/v4/letter/p/258eb7/32.png) [@PandKing](https://discuss.elastic.co/u/PandKing)\
**Post date:** [April 25, 2018, 12:40am UTC](https://discuss.elastic.co/t/logstash-6-2-4-1-persisted-queue-hung-again/129374/3 "2018-04-25T00:40:02Z")

</div>

Corrupt PQ seems to be a theme in LS with still no tools of docs.  
Is it recommended not use use PQ ?

> [@Logstash Pipeline from 6.1 not working 6.2.1](https://discuss.elastic.co/t/logstash-pipeline-from-6-1-not-working-6-2-1/120548/37):
>
> Can someone share the config they were having issues with and the config they had working? Then I can see if one of the dev team can take a closer look.

> [@Persistent queue enabled - Version mismatch](https://discuss.elastic.co/t/persistent-queue-enabled-version-mismatch/124788):
>
> Running ELK 5.6.5 with persistent queue enabled in logstash.yml running on centos 7.1 queue.type: persisted queue.max\_events: 50 Run into following exception frequently org.logstash.ackedqueue.io.AbstractByteBufferPageIO$PageIOInvalidVersionException: Expected page version=1 but found version=0 entire server running ELK is powered off instantaneously (or sometime given 5 seconds after SIGTERM) for High Availability testing. Only way to recover (restart logstash) is delete the queue and fo…

> [@Logstash pipeline fails to start with an existing persistent queue](https://discuss.elastic.co/t/logstash-pipeline-fails-to-start-with-an-existing-persistent-queue/112923):
>
> Hi, We've had some cases where something happens, our logstash pipeline crashes and attempts to restart, but is unable to start up again because it fails to create the persistent queue. When this happens, I have to go in and clear out the page and checkpoint files, and then the pipeline starts. We are using 4 workers, logstash version 5.6.3 via docker, and our pipeline has two jdbc inputs and two elasticsearch outputs. This has happened a few times, and the logs look a bit different for each t…

---

<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:** [May 23, 2018, 12:40am UTC](https://discuss.elastic.co/t/logstash-6-2-4-1-persisted-queue-hung-again/129374/4 "2018-05-23T00:40:03Z")

</div>

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