# High cpu usage on Logstash Netflow receiver

**URL:** <https://discuss.elastic.co/t/high-cpu-usage-on-logstash-netflow-receiver/174522>\
**Category:** Logstash\
**Created:** [March 29, 2019, 11:07am UTC](https://discuss.elastic.co/t/high-cpu-usage-on-logstash-netflow-receiver/174522 "2019-03-29T11:07:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![valentin2105](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/valentin2105/32/36222_2.png) [@valentin2105](https://discuss.elastic.co/u/valentin2105)\
**Post date:** [March 29, 2019, 11:07am UTC](https://discuss.elastic.co/t/high-cpu-usage-on-logstash-netflow-receiver/174522/1 "2019-03-29T11:07:06Z")

</div>

Hi,

It's my first setup of Logstash,

I already have a 3 nodes ES cluster from a while, which receive Filebeat / Metricbeat datas.

I setup my Logstash server to receive Netflow (Small ISP size network w/ 6k customers), I use Pipeline from elastiFlow github project.

Actually my Logstash node got 12 vCPUs and 12Gb RAM and the only "tweak" I done is change this :

-Xms9g  
-Xmx9g

in the jvm.options.

My node (from Kibana Xpack monitoring receive on avg 1300 flow/s) and have very high Load/CPU usage (load 1m at 15 constantly) and Memory is not used at full usage (3G available not cached).

The VM run on a 16vCPU physical server, which got high usage too, only due of the Logstash VM.

Do you have any recommandation to slow down a little bit the CPU and use all the ram ? I can add more ram if needed.

![58](https://us1.discourse-cdn.com/elastic/original/3X/1/2/12c674d2d5a2232b7b98a8bff49d771025055168.png)

Thank you Elastic community !

---

<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:** [April 26, 2019, 11:07am UTC](https://discuss.elastic.co/t/high-cpu-usage-on-logstash-netflow-receiver/174522/2 "2019-04-26T11:07:16Z")

</div>

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