# Logstash output redis plugin infinite loop

**URL:** <https://discuss.elastic.co/t/logstash-output-redis-plugin-infinite-loop/68231>\
**Category:** Logstash\
**Created:** [December 7, 2016, 1:23am UTC](https://discuss.elastic.co/t/logstash-output-redis-plugin-infinite-loop/68231 "2016-12-07T01:23:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sawyer\_Zhu](https://avatars.discourse-cdn.com/v4/letter/s/b3f665/32.png) [@Sawyer\_Zhu](https://discuss.elastic.co/u/Sawyer_Zhu)\
**Post date:** [December 7, 2016, 1:23am UTC](https://discuss.elastic.co/t/logstash-output-redis-plugin-infinite-loop/68231/1 "2016-12-07T01:23:11Z")

</div>

If some exception raised in receive method, it will goto infinite loop with 'retry' statement. Should add the max retry times limit.

---

<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 4, 2017, 1:24am UTC](https://discuss.elastic.co/t/logstash-output-redis-plugin-infinite-loop/68231/2 "2017-01-04T01:24:29Z")

</div>

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