# \[SOLVED\] Filebeat creating high CPU usage

**URL:** <https://discuss.elastic.co/t/solved-filebeat-creating-high-cpu-usage/42419>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [February 22, 2016, 6:40pm UTC](https://discuss.elastic.co/t/solved-filebeat-creating-high-cpu-usage/42419 "2016-02-22T18:40:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Diggy](https://avatars.discourse-cdn.com/v4/letter/d/e99b99/32.png) [@Diggy](https://discuss.elastic.co/u/Diggy)\
**Post date:** [February 22, 2016, 6:40pm UTC](https://discuss.elastic.co/t/solved-filebeat-creating-high-cpu-usage/42419/1 "2016-02-22T18:40:19Z")

</div>

All,

I have filebeat installed on a handful of CentOS servers. Most installations are behaving well. However, one server constatntly reports extremely high CPU usage, as in the following from top:

30459 root 20 0 211m 14m 4968 S **99.7** 0.8 3724:20 filebeat

Note the **99.7%** CPU usage! Any ideas on how to troubleshoot this?

Thank you.

---

<div class="post-metadata">

**Author:** ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)\
**Post date:** [February 23, 2016, 12:12am UTC](https://discuss.elastic.co/t/solved-filebeat-creating-high-cpu-usage/42419/2 "2016-02-23T00:12:03Z")

</div>

Any log output from filebeat or logstash?

Which filebeat version have you installed?

Can you share your filebeat config?

---

<div class="post-metadata">

**Author:** ![iyaozhen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/iyaozhen/32/7276_2.png) [@iyaozhen](https://discuss.elastic.co/u/iyaozhen)\
**Post date:** [February 23, 2016, 4:08am UTC](https://discuss.elastic.co/t/solved-filebeat-creating-high-cpu-usage/42419/3 "2016-02-23T04:08:47Z")

</div>

Same as me ? [https://github.com/elastic/beats/issues/781](https://github.com/elastic/beats/issues/781)

Do not set `scan_frequency` to 0.

---

<div class="post-metadata">

**Author:** ![Diggy](https://avatars.discourse-cdn.com/v4/letter/d/e99b99/32.png) [@Diggy](https://discuss.elastic.co/u/Diggy)\
**Post date:** [February 24, 2016, 1:51pm UTC](https://discuss.elastic.co/t/solved-filebeat-creating-high-cpu-usage/42419/4 "2016-02-24T13:51:56Z")

</div>

Apologies. My filebeat.conf was misconfigured. Once fixed, the problem went away.

---

<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 5, 2017, 9:55pm UTC](https://discuss.elastic.co/t/solved-filebeat-creating-high-cpu-usage/42419/5 "2017-07-05T21:55:26Z")

</div>


