# It seems like memory leaks

**URL:** <https://discuss.elastic.co/t/it-seems-like-memory-leaks/196718>\
**Category:** Beats\
**Created:** [August 26, 2019, 7:02am UTC](https://discuss.elastic.co/t/it-seems-like-memory-leaks/196718 "2019-08-26T07:02:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![judy1](https://avatars.discourse-cdn.com/v4/letter/j/dbc845/32.png) [@judy1](https://discuss.elastic.co/u/judy1)\
**Post date:** [August 26, 2019, 7:02am UTC](https://discuss.elastic.co/t/it-seems-like-memory-leaks/196718/1 "2019-08-26T07:02:11Z")

</div>

Hi  
I've set up a filebeat service (Two 6.2.1 & One 5.5.1) running on ubuntu.  
Memory is used always near 100%.  
The memory not released all the time.  
It seems like memory leaks.

![plc-1b_%EB%A9%94%EB%AA%A8%EB%A6%AC](https://us1.discourse-cdn.com/elastic/original/3X/d/c/dc621c28eb789dc4dc5d81be1af54757c15fef8c.jpeg)

# filebeat.yml - 6.2.1

filebeat.prospectors  
- input\_type: log  
paths: ~  
document\_type: ~  
scan\_frequency: 30s  
close\_eof: true  
close\_removed: true

output.logstash:  
hosts: ~  
loadbalance: true  
worker: 2  
timeout: 60  
pipeling: 0  
max\_retries: -1

# filebeat.yml - 5.5.1

filebeat.prospectors  
- input\_type: log  
paths: ~  
document\_type: ~  
scan\_frequency: 30s  
close\_interactive: 1h

output.logstash:  
hosts: ~  
loadbalance: true  
worker: 2  
timeout: 60  
pipeling: 0  
max\_retries: -1

The memory leak issue has been solved in 6.5.1 in ommunity.  
Can you fix this without changing the version?  
Is there a version that's been fixed in 5.x?

And I want to analyze it in detail through "go tool pprof"  
But It didn't work. How do I use it??

ADD:  
"./filebeat -httpprof localhost:6060 -path.home -path.config -path.data -c"

 ![golangcheck](https://us1.discourse-cdn.com/elastic/original/3X/6/c/6ca58708af72995d97f066fa3515234da0840415.jpeg)

---

<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:** [September 23, 2019, 9:02am UTC](https://discuss.elastic.co/t/it-seems-like-memory-leaks/196718/2 "2019-09-23T09:02:22Z")

</div>

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