# Concurrency causing Ruby Exception - logstash-5.4.3

**URL:** <https://discuss.elastic.co/t/concurrency-causing-ruby-exception-logstash-5-4-3/153899>\
**Category:** Logstash\
**Created:** [October 25, 2018, 3:35am UTC](https://discuss.elastic.co/t/concurrency-causing-ruby-exception-logstash-5-4-3/153899 "2018-10-25T03:35:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![peruma.selvarasu](https://avatars.discourse-cdn.com/v4/letter/p/a6a055/32.png) [@peruma.selvarasu](https://discuss.elastic.co/u/peruma.selvarasu)\
**Post date:** [October 25, 2018, 3:35am UTC](https://discuss.elastic.co/t/concurrency-causing-ruby-exception-logstash-5-4-3/153899/1 "2018-10-25T03:35:26Z")

</div>

We are getting the below error in logstash-5.4.3.  
I am not seeing any transaction failure due to this issue. Is there any suggestion to fix the problem??  
[2018-10-16T18:53:21,745][ERROR][logstash.filters.ruby] Ruby exception occurred: Detected invalid array contents due to unsynchronized modifications with concurrent users  
[2018-10-16T18:53:21,745][ERROR][logstash.filters.ruby] Ruby exception occurred: Detected invalid array contents due to unsynchronized modifications with concurrent users

[2018-10-16T19:24:04,033][ERROR][logstash.filters.ruby] Ruby exception occurred: Detected invalid hash contents due to unsynchronized modifications with concurrent users  
[2018-10-16T19:24:04,033][ERROR][logstash.filters.ruby] Ruby exception occurred: Detected invalid hash contents due to unsynchronized modifications with concurrent users

---

<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 22, 2018, 3:35am UTC](https://discuss.elastic.co/t/concurrency-causing-ruby-exception-logstash-5-4-3/153899/2 "2018-11-22T03:35:26Z")

</div>

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