# Filebeat registry (inode) clean case restart slow

**URL:** https://discuss.elastic.co/t/filebeat-registry-inode-clean-case-restart-slow/213116
**Category:** Beats
**Tags:** filebeat
**Created:** [December 27, 2019, 1:52am UTC](https://discuss.elastic.co/t/filebeat-registry-inode-clean-case-restart-slow/213116 "2019-12-27T01:52:22Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![john\_am](https://avatars.discourse-cdn.com/v4/letter/j/5f9b8f/32.png) [@john\_am](https://discuss.elastic.co/u/john_am)
#### Post date: [December 27, 2019, 1:52am UTC](https://discuss.elastic.co/t/filebeat-registry-inode-clean-case-restart-slow/213116/1 "2019-12-27T01:52:22Z")

</div>

1 What's go on?  
Filebeat terrible slow to start harvest after I configure the inode clean.  
2 My config are as follow:  
\</\>

- type: log  
enabled: true  
paths:
  - /data/aaa/aaa/\*\*  
tags: ["aaa"]  
fields:  
public\_ip: 14.116.220.177  
agent:  
name: guangzhou4\_10.10.3.207  
exclude\_lines: ['^\n']  
exclude\_files: ['.lz4$']  
ignore\_older: 24h  
clean\_inactive: 100h  
clean\_removed: true  
\</\>  
3 Why so slow ?  
1 I have 30000 file per day. In this configure, data/registry/filebeat/data.json file has nearly 100000 record;  
2 Each time When i try to restart , Filebeat check each record in data/registry/filebeat/data.json file. What terrible is 😊 filebeat check each record in sync into a new file ,.What the ......

---

<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: [January 24, 2020, 1:52am UTC](https://discuss.elastic.co/t/filebeat-registry-inode-clean-case-restart-slow/213116/2 "2020-01-24T01:52:23Z")

</div>

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