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
Use EPOLL_CLOEXEC to prevent fd leaks. #74691
Conversation
Hi @cpuguy83. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/sig node |
/assign @derekwaynecarr |
/ok-to-test |
/lgtm |
44220ef
to
9df0fe7
Compare
/test pull-kubernetes-kubemark-e2e-gce-big |
/priority important-soon |
Hi! Friendly reminder from your release team: we are starting the code freeze for 1.15 tomorrow EOD. Seeing some good progress here, just checking in to see if this is still planned for the 1.15 cycle? See that milestone added a couple of days ago and awaiting a LGTM. Assuming that's the case. Can I get a quick confirmation here? |
@dims Is this release blocking? I see you've approved this PR but it is lacking a LGTM label, I'm inclined to move this to 1.16. |
@soggiest sounds good, my approval is not enough, need folks from sig-node to approve unfortunately :( |
/milestone v1.16 |
/uncc |
apologies for the delay, for some reason this PR was lost in my review queue. i assume you were observing leaks from this area, but its not clear at what rate? we should have metrics for this and i am wondering why it hasn't come up prior. @sjenning can you take a look? i think you were the original author for using memcg notifications in this area, and it would be good for you to weigh in. |
related fsnotify/fsnotify#219 |
Yes, I went on a hunt for possible leaks after a user reported some issues running out of inotify handles (without much to go on to debug with). These are just what I ran across as possible, and unlikely to want to be shared with sub-processes. |
@cpuguy83 let's rebase and ping folks for approval again :) |
This prevents fd's from leaking to subprocesses.
This prevents fd's from leaking to subprocesses.
This prevents fd's from leaking to subprocesses.
9df0fe7
to
7077bbd
Compare
/assign @thockin @dchen1107 (We need pkg/ OWNERS approval, please see @derekwaynecarr 's |
Thanks! /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cpuguy83, derekwaynecarr, thockin The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest Review the full test history for this PR. Silence the bot with an |
What type of PR is this?
/kind bug
What this PR does / why we need it:
Use EPOLL_CLOEXEC to prevent fd leaks.
Which issue(s) this PR fixes:
Special notes for your reviewer:
There's still an issue with fsnotify which is used in other places.
Reaching out to the maintainer, but he backed out of the project some
time ago and there's no active committers AFAIK.
Does this PR introduce a user-facing change?: