# Logstash is closing connections and Clients get Connection closed errors, especially at low volumes

**URL:** <https://discuss.elastic.co/t/logstash-is-closing-connections-and-clients-get-connection-closed-errors-especially-at-low-volumes/183668>\
**Category:** Logstash\
**Created:** [May 31, 2019, 6:43am UTC](https://discuss.elastic.co/t/logstash-is-closing-connections-and-clients-get-connection-closed-errors-especially-at-low-volumes/183668 "2019-05-31T06:43:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ramsateesh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ramsateesh/32/47210_2.png) [@ramsateesh](https://discuss.elastic.co/u/ramsateesh)\
**Post date:** [May 31, 2019, 6:43am UTC](https://discuss.elastic.co/t/logstash-is-closing-connections-and-clients-get-connection-closed-errors-especially-at-low-volumes/183668/1 "2019-05-31T06:43:21Z")

</div>

Hi  
I am running a http\_input plugin and kafka output plugin.

At high volumes like around 300 tps everything works just fine... but in lower tps

logstash is closing client connections and they end up with an error that says "connection closed by Server".

and it's happening if the connection is open for 20 secs or more... can I change this behaviour to and increase the timeout at logstash end ?

Thank you  
Ram T

---

<div class="post-metadata">

**Author:** ![ramsateesh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ramsateesh/32/47210_2.png) [@ramsateesh](https://discuss.elastic.co/u/ramsateesh)\
**Post date:** [May 31, 2019, 6:43am UTC](https://discuss.elastic.co/t/logstash-is-closing-connections-and-clients-get-connection-closed-errors-especially-at-low-volumes/183668/2 "2019-05-31T06:43:53Z")

</div>

I am using Logstash 5.6.8

---

<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:** [June 28, 2019, 6:43am UTC](https://discuss.elastic.co/t/logstash-is-closing-connections-and-clients-get-connection-closed-errors-especially-at-low-volumes/183668/3 "2019-06-28T06:43:56Z")

</div>

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