-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Remove pipe to wc and prevent zombie on err #1558
Conversation
Hi @sykesm. 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 If you have questions or suggestions related to this bot's behavior, please file an issue against the kubernetes/test-infra repository. |
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
CLAs look good, thanks! |
@k8s-bot ok to test LGTM |
@k8s-bot ok to test |
@k8s-bot test this |
1 similar comment
@k8s-bot test this |
it passed the e2e_node InodeEviction test, so /LGTM |
ill have to figure out why the pull is failing... |
@k8s-bot test this |
Jenkins GCE e2e failed for commit c7bd164. Full PR test history. The magic incantation to run this job again is If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
#1567 has merged. Try rebasing and see if the problem goes away. |
Build was successful after a rebase. Thanks. |
Automatic merge from submit-queue (batch tested with PRs 39486, 37288, 39477, 39455, 39542) Fix wc zombie goroutine issue in volume util See [Cadvisor #1558](google/cadvisor#1558). This should solve problems for those using images that do not support "wc". cc: @timstclair
Automatic merge from submit-queue (batch tested with PRs 40105, 40095) Update dependencies: aws-sdk-go to 1.6.10; also cadvisor updating cadvisor mainly to include [this bugfix #1558](google/cadvisor#1558) Because cadvisor vendors a newer version of aws than kubernetes, the aws dependency needed to be updated as well. cc: @justinsb @zmerlynn @timstclair
Automatic merge from submit-queue [Release 1.5] Update cadvisor godeps to v0.25.0 This PR updates the cAdvisor Godeps for the 1.5 branch. This includes a number of critical bugfixes including: [cadvisor#1558](google/cadvisor#1558), [cadvisor#1573](google/cadvisor#1573) This is a large change on account of the aws dependency update. However, many affected users have requested that this be cherrypicked into 1.5 and 1.4 (coming soon) ```release-note - Disable thin_ls due to excessive iops - Ignore .mount cgroups, fixing dissappearing stats - Fix wc goroutine leak - Update aws-sdk-go dependency to 1.6.10 ``` cc @calebamiles [remember this?](#40095 (comment)) @jessfraz @timstclair
GetDirInodeUsage
requires extended functionality provided by the GNUfind
implementation to work correctly. When deployed on a system with the BusyBoxfind
implementation, the extra arguments are unrecognized and find terminates. (#1556, kubernetes/minikube#923, kubernetes/kubernetes#38894)When
find
exits with an error, the wait for thewc
process never happens andwc
becomes a zombie. On systems without GNU find, these zombies can accrue quickly.In lieu of a solution that would work everywhere (ie. not relying on GNU find), this PR simply replaces
wc
with a writer implementation that counts what has been written. This simplifies the code a bit and removes the pipe.