# Does logstash http output plugin has back pressure?

**URL:** <https://discuss.elastic.co/t/does-logstash-http-output-plugin-has-back-pressure/199795>\
**Category:** Logstash\
**Created:** [September 17, 2019, 9:51am UTC](https://discuss.elastic.co/t/does-logstash-http-output-plugin-has-back-pressure/199795 "2019-09-17T09:51:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dileep\_Kumar\_Dora](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dileep_kumar_dora/32/48035_2.png) [@Dileep\_Kumar\_Dora](https://discuss.elastic.co/u/Dileep_Kumar_Dora)\
**Post date:** [September 17, 2019, 9:51am UTC](https://discuss.elastic.co/t/does-logstash-http-output-plugin-has-back-pressure/199795/1 "2019-09-17T09:51:07Z")

</div>

> [@What happens to events that are not processed by any output](https://discuss.elastic.co/t/what-happens-to-events-that-are-not-processed-by-any-output/102417):
>
> I'm wondering what happens to events that are not written by any output plugin? Reason why I'm asking is that I have a logstash instance running for a couple of days and for no reason (no increased load) it dies with an out of memory error (Java Heap). Now the only reason I could see for that (apart from a memory leak) is that I'm not explicitly discarding (drop filter) events and only writing specific ones to an output ( i do have a if clause in my output section). Would logstash keep them s…

In the above discussion it's mentioned as

Each output has its own retry mechanism - if an event is in an outputs retry queue then the event is still referenced and the JVM does not garbage collect it.

Outputs like elasticsearch will not accepts new events while the are events in the retry queue. This has a back-pressure effect that pushes back all the way to the inputs - they stop accepting new events from upstream.

When I'm working with http output plugin it's not handling backpressure properly. Can someone help with this?

Thanks,  
Dileep.

---

<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:** [October 15, 2019, 9:51am UTC](https://discuss.elastic.co/t/does-logstash-http-output-plugin-has-back-pressure/199795/2 "2019-10-15T09:51:13Z")

</div>

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