# Logstash stops itself

**URL:** <https://discuss.elastic.co/t/logstash-stops-itself/42362>\
**Category:** Logstash\
**Created:** [February 22, 2016, 8:00am UTC](https://discuss.elastic.co/t/logstash-stops-itself/42362 "2016-02-22T08:00:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcmga](https://avatars.discourse-cdn.com/v4/letter/m/3bc359/32.png) [@marcmga](https://discuss.elastic.co/u/marcmga)\
**Post date:** [February 22, 2016, 8:00am UTC](https://discuss.elastic.co/t/logstash-stops-itself/42362/1 "2016-02-22T08:00:30Z")

</div>

Hello,

Every 1/2 weeks i'm finding my logstash stopped.  
I check logstas.err and it show this log:

> Non US-ASCII detected and no charset defined.  
> Defaulting to UTF-8, set your own if this is incorrect.  
> Non US-ASCII detected and no charset defined.  
> Defaulting to UTF-8, set your own if this is incorrect.  
> RuntimeError: can't add a new key into hash during iteration  
> = at org/jruby/RubyHash.java:992  
> filter at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-filter-throttle-2.0.2/lib/logstash/filters/throttle.rb:186  
> multi\_filter at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.0.0-java/lib/logstash/filters/base.rb:152  
> each at org/jruby/RubyArray.java:1613  
> multi\_filter at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.0.0-java/lib/logstash/filters/base.rb:149  
> cond\_func\_264 at (eval):5682  
> each at org/jruby/RubyArray.java:1613  
> cond\_func\_264 at (eval):5678  
> cond\_func\_263 at (eval):5702  
> each at org/jruby/RubyArray.java:1613  
> cond\_func\_263 at (eval):5699  
> filter\_func at (eval):1244  
> filterworker at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.0.0-java/lib/logstash/pipeline.rb:219  
> start\_filters at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.0.0-java/lib/logstash/pipeline.rb:154

Does anybody knows why it is happening to my installation? how can i fix 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:** [July 6, 2017, 5:10am UTC](https://discuss.elastic.co/t/logstash-stops-itself/42362/2 "2017-07-06T05:10:20Z")

</div>


