# File Grew, but sincedb does not keep up with file

**URL:** https://discuss.elastic.co/t/file-grew-but-sincedb-does-not-keep-up-with-file/54780
**Category:** Logstash
**Created:** [July 5, 2016, 8:47pm UTC](https://discuss.elastic.co/t/file-grew-but-sincedb-does-not-keep-up-with-file/54780 "2016-07-05T20:47:34Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Rena](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rena/32/97656_2.png) [@Rena](https://discuss.elastic.co/u/Rena)
#### Post date: [July 5, 2016, 8:47pm UTC](https://discuss.elastic.co/t/file-grew-but-sincedb-does-not-keep-up-with-file/54780/1 "2016-07-05T20:47:34Z")

</div>

I started logstash in debug against a small directory of files. 3 of the files were written to and consumed. One of the files is continuing to grow.

I see the corresponding logging when the file grows

{:timestamp=\>"2016-07-05T16:40:34.528000-0400", :message=\>"each: file grew: Data/GrowingFile.log: old size 29458088, new size 31361855", :level=\>:warn}

However, the sincedb file is not updated with the new size and the new content is not consumed

This continues and the file is only consumed and sincedb updated on restart

```
input {
file{
  path => ["/Data/*.log"]
  codec => multiline {
	pattern => "^%{NUMBER:line_num}"
	negate => true
	what => "previous"
} 
start_position => "beginning"
sincedb_path => "logs/sincedb"   
stat_interval => 10
}
}
```

---

<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 6, 2017, 4:49am UTC](https://discuss.elastic.co/t/file-grew-but-sincedb-does-not-keep-up-with-file/54780/2 "2017-07-06T04:49:20Z")

</div>


