﻿---
title: Filebeat is using too much CPU
description: Filebeat might be configured to scan for files too frequently. Check the setting for scan_frequency in the filebeat.yml config file. Setting scan_frequency...
url: https://docs-v3-preview.elastic.dev/elastic/beats/pull/47883/reference/filebeat/filebeat-cpu
---

# Filebeat is using too much CPU
Filebeat might be configured to scan for files too frequently. Check the setting for `scan_frequency` in the `filebeat.yml` config file. Setting `scan_frequency` to less than 1s may cause Filebeat to scan the disk in a tight loop.