# Logstash stuck on close\_wait with Lumberjack

**URL:** <https://discuss.elastic.co/t/logstash-stuck-on-close-wait-with-lumberjack/153023>\
**Category:** Logstash\
**Created:** [October 18, 2018, 2:21pm UTC](https://discuss.elastic.co/t/logstash-stuck-on-close-wait-with-lumberjack/153023 "2018-10-18T14:21:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kazesu](https://avatars.discourse-cdn.com/v4/letter/k/f9ae1b/32.png) [@Kazesu](https://discuss.elastic.co/u/Kazesu)\
**Post date:** [October 18, 2018, 2:21pm UTC](https://discuss.elastic.co/t/logstash-stuck-on-close-wait-with-lumberjack/153023/1 "2018-10-18T14:21:36Z")

</div>

Hello there,

I am using the latest releases of the ELK stack, but I have an issues that I had with Logstash version 2.4.2 and that I also have with my current one. This is a standalone solution that receives logs from several sources via tcp/udp.

I have a lumberjack output to a server:  
output {  
if (rule) {  
lumberjack {  
hosts =\> "IP"  
port =\> port  
ssl\_certificate =\> "certificate"  
codec =\> plain {format =\> ...}  
}}}

If the remote server that I have goes down or the connection is lost, I get stuck in CLOSE\_WAIT on the logstash side.

I have tried looking in other topics, but I failed to see any that had a similar behaviour. If there is one please direct me to it.

Thanks.

---

<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:** [November 15, 2018, 2:21pm UTC](https://discuss.elastic.co/t/logstash-stuck-on-close-wait-with-lumberjack/153023/2 "2018-11-15T14:21:38Z")

</div>

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