# Logstash cpu utilization is 100%

**URL:** <https://discuss.elastic.co/t/logstash-cpu-utilization-is-100/93179>\
**Category:** Logstash\
**Created:** [July 14, 2017, 11:42am UTC](https://discuss.elastic.co/t/logstash-cpu-utilization-is-100/93179 "2017-07-14T11:42:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![deeps123](https://avatars.discourse-cdn.com/v4/letter/d/90db22/32.png) [@deeps123](https://discuss.elastic.co/u/deeps123)\
**Post date:** [July 14, 2017, 11:42am UTC](https://discuss.elastic.co/t/logstash-cpu-utilization-is-100/93179/1 "2017-07-14T11:42:31Z")

</div>

Hi,

I am using 5.1.3 logstash. My configuration contains tcp as input with multiline codec , followed by filter and output to file.  
I have 4core CPU with 16G RAM on my redhat machine. openjsk1.8 i am using.

I tried to increase the heap size to 14g max and 4g min. But still no use.

I read that increasing workers will not help with multiline.

Can somebody help me how to debug the issue.

---

<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 11, 2017, 11:42am UTC](https://discuss.elastic.co/t/logstash-cpu-utilization-is-100/93179/2 "2017-08-11T11:42:40Z")

</div>

Closed on August 11, 2017, 11:42am UTC

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