# Logstash is periodically hanging (unresponsive) and not sending anything to ES. How to recognize and fix?

**URL:** <https://discuss.elastic.co/t/logstash-is-periodically-hanging-unresponsive-and-not-sending-anything-to-es-how-to-recognize-and-fix/258896>\
**Category:** Logstash\
**Created:** [December 16, 2020, 5:10pm UTC](https://discuss.elastic.co/t/logstash-is-periodically-hanging-unresponsive-and-not-sending-anything-to-es-how-to-recognize-and-fix/258896 "2020-12-16T17:10:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![user2416](https://avatars.discourse-cdn.com/v4/letter/u/97f17d/32.png) [@user2416](https://discuss.elastic.co/u/user2416)\
**Post date:** [December 16, 2020, 5:10pm UTC](https://discuss.elastic.co/t/logstash-is-periodically-hanging-unresponsive-and-not-sending-anything-to-es-how-to-recognize-and-fix/258896/1 "2020-12-16T17:10:06Z")

</div>

We are running logstash on Kubernetes. And some logstash Pods stops inserting data into ES for some unknown reason periodically (once in 2-7 days)

And logstash does not indicate there's something wrong with it. I mean the logstash process does not crash.The logs do not show any errors.

The only way I may know that the logstash stopped inserting data into ES is by looking into kibana and see no new data.

And restarting logstash is fixing the issue or after 2-4hrs it starts working normal again.

Has anyone had that kind of issues before? How can I identify whats causing this issue and fix it?

Logstash is receiving data from Filebeat for every `30sec` interval. It is receiving data from `~70 filebeat pods` and load-balancing enabled on filebeat logstash output section to distribute load across all logstash pods

`Logstash version - 7.6.2` `pipeline.workers: 12` `LS_JAVA_OPTS=" -Xmx4g -Xms4g"` `Number of logstash pods - 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:** [January 13, 2021, 5:10pm UTC](https://discuss.elastic.co/t/logstash-is-periodically-hanging-unresponsive-and-not-sending-anything-to-es-how-to-recognize-and-fix/258896/2 "2021-01-13T17:10:18Z")

</div>

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