# Logstash consumes too much CPU while Redis is down

**URL:** <https://discuss.elastic.co/t/logstash-consumes-too-much-cpu-while-redis-is-down/241992>\
**Category:** Logstash\
**Tags:** docker\
**Created:** [July 21, 2020, 9:02am UTC](https://discuss.elastic.co/t/logstash-consumes-too-much-cpu-while-redis-is-down/241992 "2020-07-21T09:02:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gabor-T-mandity](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gabor-t-mandity/32/72495_2.png) [@gabor-T-mandity](https://discuss.elastic.co/u/gabor-T-mandity)\
**Post date:** [July 21, 2020, 9:02am UTC](https://discuss.elastic.co/t/logstash-consumes-too-much-cpu-while-redis-is-down/241992/1 "2020-07-21T09:02:34Z")

</div>

We have multple pipelines, which has the same structure: Redis cache in seperate environments and one centralized ELK stack. To save up some money, we shut down our dev environments every day.  
Our problem is, that while Redis is down, Logstash consumes nearly 100% CPU. Is there any solution for this problem?  
We tried to set timeout for Redis iput plugin, but it seemed, it just delayed the high CPU usage.  
Everything is running in seperate Docker containers and in seperate envrionments/virtual machines.

Logstash 6.8.10

---

<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:** [August 18, 2020, 9:02am UTC](https://discuss.elastic.co/t/logstash-consumes-too-much-cpu-while-redis-is-down/241992/2 "2020-08-18T09:02:38Z")

</div>

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