# Filebeat high cpu load on Win 2012 R2

**URL:** <https://discuss.elastic.co/t/filebeat-high-cpu-load-on-win-2012-r2/130972>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [May 8, 2018, 10:10am UTC](https://discuss.elastic.co/t/filebeat-high-cpu-load-on-win-2012-r2/130972 "2018-05-08T10:10:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![X\_Calibur](https://avatars.discourse-cdn.com/v4/letter/x/b2d939/32.png) [@X\_Calibur](https://discuss.elastic.co/u/X_Calibur)\
**Post date:** [May 8, 2018, 10:10am UTC](https://discuss.elastic.co/t/filebeat-high-cpu-load-on-win-2012-r2/130972/1 "2018-05-08T10:10:00Z")

</div>

Hi,

I'm getting 30 percent load from Filebeat's process alone.  
The logs folder has about 1500 files as large as 4MB each.

I tried adding the following the YML config:  
harvester\_limit: 1  
close\_inactive: 1m  
scan\_frequency: 5m  
ignore\_older: 3h  
backoff: 5m  
max\_procs: 1

Also I wasnt able to find anything abnormal in the log files.  
Mainly "Harvester started for file..." lines.

Thanks  
Gil

---

<div class="post-metadata">

**Author:** ![pierhugues](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pierhugues/32/48383_2.png) [@pierhugues](https://discuss.elastic.co/u/pierhugues)\
**Post date:** [May 8, 2018, 7:51pm UTC](https://discuss.elastic.co/t/filebeat-high-cpu-load-on-win-2012-r2/130972/2 "2018-05-08T19:51:06Z")

</div>

@X_Calibur is there any errors in the log what version of Filebeat are you running?

---

<div class="post-metadata">

**Author:** ![X\_Calibur](https://avatars.discourse-cdn.com/v4/letter/x/b2d939/32.png) [@X\_Calibur](https://discuss.elastic.co/u/X_Calibur)\
**Post date:** [May 9, 2018, 11:03am UTC](https://discuss.elastic.co/t/filebeat-high-cpu-load-on-win-2012-r2/130972/3 "2018-05-09T11:03:50Z")

</div>

No errors whatsoever.  
Latest possible version. Downloaded from the past week or so.

---

<div class="post-metadata">

**Author:** ![pierhugues](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pierhugues/32/48383_2.png) [@pierhugues](https://discuss.elastic.co/u/pierhugues)\
**Post date:** [May 10, 2018, 1:40pm UTC](https://discuss.elastic.co/t/filebeat-high-cpu-load-on-win-2012-r2/130972/4 "2018-05-10T13:40:31Z")

</div>

I would remove `max_procs` from the config and just keep `harvester_limit`,  
Would you mind giving us a `cpuprofile` of the running application using the `--cpuprofile my.prof` flag [described in the doc](https://www.elastic.co/guide/en/beats/filebeat/current/command-line-options.html)

---

<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:** [June 7, 2018, 1:40pm UTC](https://discuss.elastic.co/t/filebeat-high-cpu-load-on-win-2012-r2/130972/5 "2018-06-07T13:40:34Z")

</div>

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