# Cannot flush pipeline logstash hangs

**URL:** <https://discuss.elastic.co/t/cannot-flush-pipeline-logstash-hangs/48487>\
**Category:** Logstash\
**Created:** [April 26, 2016, 10:48pm UTC](https://discuss.elastic.co/t/cannot-flush-pipeline-logstash-hangs/48487 "2016-04-26T22:48:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wmcdonald](https://avatars.discourse-cdn.com/v4/letter/w/f6c823/32.png) [@wmcdonald](https://discuss.elastic.co/u/wmcdonald)\
**Post date:** [April 26, 2016, 10:48pm UTC](https://discuss.elastic.co/t/cannot-flush-pipeline-logstash-hangs/48487/1 "2016-04-26T22:48:28Z")

</div>

I am running logstash 2.3.1 on solaris 10 with java version "1.7.0\_55".  
$ bin/logstash -f config.txt -w 16 --log ./logs/logstash.log -vv  
It loads the config file fine, reads in a lot of data but then tries to put a flush onto the pipeline. At this point its stuck and constantly repeats the following in the log file:  
...  
{:timestamp=\>"2016-04-26T15:46:51.987000-0700", :message=\>"Pushing flush onto pipeline", :level=\>:debug, :file=\>"logstash/pipeline.rb", :line=\>"458", :method=\>"flush"}  
...

How can I fix this?

Is there any way to tell how much (items or memory) of the queue is full and/or if it is stuck because its blocked?

---

<div class="post-metadata">

**Author:** ![wmcdonald](https://avatars.discourse-cdn.com/v4/letter/w/f6c823/32.png) [@wmcdonald](https://discuss.elastic.co/u/wmcdonald)\
**Post date:** [April 26, 2016, 10:58pm UTC](https://discuss.elastic.co/t/cannot-flush-pipeline-logstash-hangs/48487/2 "2016-04-26T22:58:55Z")

</div>

Maybe I'm missing something here, but is the same queue being used to process data as well as issue operation commands like 'flush'? If so, this seems like a very bad design since a blocking queue can stop the functionality if stuffed with data messages effectively creating a denial of service, no?

---

<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:** [July 6, 2017, 5:00am UTC](https://discuss.elastic.co/t/cannot-flush-pipeline-logstash-hangs/48487/3 "2017-07-06T05:00:26Z")

</div>


