Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[Filebeat] Memory leak associated with failure to setup harvesters #6797
Filebeat has a memory leak which is exposed by repeated failure to setup harvesters (eg.
From what I can tell, this comes down to channel.SubOutlet being created for the new harvester, but not cleaned up properly when
Here's some output from pprof. I've also attached the pprof file here.
Note, in the above scenario,
Please let me know if there are more details I can provide, and I'm happy to test any potential solutions when we narrow down the problem.