# Persistent Queues Never Writes Tail Files

**URL:** <https://discuss.elastic.co/t/persistent-queues-never-writes-tail-files/121231>\
**Category:** Logstash\
**Created:** [February 23, 2018, 2:29pm UTC](https://discuss.elastic.co/t/persistent-queues-never-writes-tail-files/121231 "2018-02-23T14:29:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![simondawe](https://avatars.discourse-cdn.com/v4/letter/s/45deac/32.png) [@simondawe](https://discuss.elastic.co/u/simondawe)\
**Post date:** [February 23, 2018, 2:29pm UTC](https://discuss.elastic.co/t/persistent-queues-never-writes-tail-files/121231/1 "2018-02-23T14:29:16Z")

</div>

Hi I have just started playing with logstash 5.4.0 persistent queues.  
I have configured logstash to use persistent queues though this always writes to head and never rolls the head over to tail.

My logstash.yml is as follows;  
queue.checkpoint.writes: 1  
queue.type: persisted  
path.queue: /usr/share/logstash/persisted-queues  
queue.page\_capacity: 1000mb

And creates  
-rw-r--r-- 1 root root 1048576000 Feb 23 14:14 page.1  
-rw-r--r-- 1 root root 34 Feb 23 14:14 checkpoint.head

a few minute later I get  
-rw-r--r-- 1 root root 1048576000 Feb 23 14:15 page.1  
-rw-r--r-- 1 root root 34 Feb 23 14:14 checkpoint.head

The size of the file remains consistent and when I cat the page file I can see it changing.

Many thanks in advance for any help and advice that anyone can share with me.

Simon

---

<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 23, 2018, 2:29pm UTC](https://discuss.elastic.co/t/persistent-queues-never-writes-tail-files/121231/2 "2018-03-23T14:29:33Z")

</div>

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