# Persistent queue only filling on page

**URL:** <https://discuss.elastic.co/t/persistent-queue-only-filling-on-page/170240>\
**Category:** Logstash\
**Created:** [February 27, 2019, 8:22pm UTC](https://discuss.elastic.co/t/persistent-queue-only-filling-on-page/170240 "2019-02-27T20:22:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![smbullet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/smbullet/32/27833_2.png) [@smbullet](https://discuss.elastic.co/u/smbullet)\
**Post date:** [February 27, 2019, 8:22pm UTC](https://discuss.elastic.co/t/persistent-queue-only-filling-on-page/170240/1 "2019-02-27T20:22:19Z")

</div>

Here is my logstash.yml:

> config.reload.automatic: true  
> dead\_letter\_queue.enable: true  
> http.host: 0.0.0.0  
> path.config: /home/logstash\_user/logstash/conf.d/  
> path.logs: /var/log/logstash  
> pipeline.batch.size: 250  
> pipeline.workers: 8  
> queue.checkpoint.writes: 1  
> queue.type: persisted

And this is the directory of the persistent queue:

> $ sudo ls -lah /home/logstash\_user/logstash/data/queue/main/  
> total 12M  
> drwxr-xr-x 2 naas\_logstash logstash\_user 80 Feb 27 15:12 .  
> drwxr-xr-x 3 naas\_logstash logstash\_user 18 Feb 22 11:52 ..  
> -rw-r--r-- 1 naas\_logstash logstash\_user 34 Feb 27 15:12 checkpoint.head  
> -rw-r--r-- 1 naas\_logstash logstash\_user 0 Feb 22 11:52 .lock  
> -rw-r--r-- 1 naas\_logstash logstash\_user 64M Feb 27 15:12 page.862  
> -rw-r--r-- 1 naas\_logstash logstash\_user 4 Feb 22 11:52 .queue-version

It's using the default max page size of 64M and the default total queue size of 1GB. However, the queue never creates a tail page and only ever keeps the head page filled. I'm seeing slowness in processing input messages so shouldn't it be using the whole queue? Thank you!

---

<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 27, 2019, 8:22pm UTC](https://discuss.elastic.co/t/persistent-queue-only-filling-on-page/170240/2 "2019-03-27T20:22:21Z")

</div>

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