# Logstash utilising 100% CPU and java heap error

**URL:** <https://discuss.elastic.co/t/logstash-utilising-100-cpu-and-java-heap-error/121486>\
**Category:** Logstash\
**Created:** [February 26, 2018, 12:49pm UTC](https://discuss.elastic.co/t/logstash-utilising-100-cpu-and-java-heap-error/121486 "2018-02-26T12:49:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dan](https://avatars.discourse-cdn.com/v4/letter/d/eada6e/32.png) [@Dan](https://discuss.elastic.co/u/Dan)\
**Post date:** [February 26, 2018, 12:49pm UTC](https://discuss.elastic.co/t/logstash-utilising-100-cpu-and-java-heap-error/121486/1 "2018-02-26T12:49:53Z")

</div>

I am using

HTTP as input and elastic search as output.

I am getting logs from 100 different HTTP sources.  
For each source, i am creating different conf file input and output.

when I am running each conf file CPU utilisation become 100%.  
Also after running some time I am getting java heap size error.

I increased my java heap size as 4029m.

Still, I am facing the same issue.

can someone please help me in architecture how better I can handle 100 HTTP input request.

My logstash version is 5.0.2

Thanks in Advance.........

---

<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:** [March 26, 2018, 12:50pm UTC](https://discuss.elastic.co/t/logstash-utilising-100-cpu-and-java-heap-error/121486/2 "2018-03-26T12:50:48Z")

</div>

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