Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix process monitoring FD leak #337

Merged
merged 1 commit into from
Oct 26, 2015

Conversation

andrewkroh
Copy link
Member

Fixes a file descriptor leak in the process monitoring feature. The golang garbage collector automatically closes the FD associated with os.File which is why the FD count didn't grow completely unbounded; in my testing the FD count would cyclically grow to about ~500 and then drop back down to ~5.

Close #335

@ruflin
Copy link
Member

ruflin commented Oct 26, 2015

LGTM. Can you update CHANGELOG.md?

…olang garbage collector automatically closes the FD associated with os.File which is why the FD count didn't grow completely unbounded; in my testing the FD count would cyclically grow to about ~500 and then drop back down to ~5.

Close elastic#335
@andrewkroh
Copy link
Member Author

I updated the changelog for this PR.

monicasarbu added a commit that referenced this pull request Oct 26, 2015
@monicasarbu monicasarbu merged commit 935d381 into elastic:master Oct 26, 2015
@portante
Copy link

@ruflin, is the plan to release this via GA or a -beta5?

@ruflin
Copy link
Member

ruflin commented Oct 27, 2015

@portante The current plan is GA.

@andrewkroh andrewkroh deleted the bugfix/procs-fd-leak branch November 12, 2015 21:46
tsg pushed a commit to tsg/beats that referenced this pull request Jan 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

packetbeat starts logging errors with too many open files watching processes with -beta4
4 participants