﻿---
title: Filebeat is using too much CPU
description: Filebeat might be configured to scan for files too frequently. Check the setting for prospector.scanner.check_interval) in the filebeat.yml config file...
url: https://docs-v3-preview.elastic.dev/elastic/beats/pull/51862/reference/filebeat/filebeat-cpu
products:
  - Beats
  - Filebeat
applies_to:
  - Elastic Cloud Serverless: Generally available
  - Elastic Stack: Generally available
---

# Filebeat is using too much CPU
Filebeat might be configured to scan for files too frequently. Check the setting for [`prospector.scanner.check_interval`](/elastic/beats/pull/51862/reference/filebeat/filebeat-input-filestream#filebeat-input-filestream-scan-frequency)) in the `filebeat.yml` config file. Setting `prospector.scanner.check_interval` to less than 1s may cause Filebeat to scan the disk in a tight loop.