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

Avoid disk usage explosion when copying busybox #1629

Merged

Conversation

danail-branekov
Copy link
Contributor

When running runc tests with temp directory with size 500M, copying
busybox without preserving hardlinks causes the folder to inflate to
roughly 330M. Copying busybox twice in certain tests causes the /tmp
directory to overfill. Using -a preserves links which busybox uses to
implement its choice of binary to run.

Signed-off-by: Tom Godkin tgodkin@pivotal.io

@crosbymichael
Copy link
Member

crosbymichael commented Oct 30, 2017

LGTM

Approved with PullApprove

1 similar comment
@dqminh
Copy link
Contributor

dqminh commented Oct 30, 2017

LGTM

Approved with PullApprove

@dqminh
Copy link
Contributor

dqminh commented Oct 30, 2017

@crosbymichael hmm travis hadnt run here yet. Wait for it before merging

@crosbymichael
Copy link
Member

Not sure why travis is not running, I tried reopening to bump it but nothing. Humm...

@tianon
Copy link
Member

tianon commented Oct 30, 2017

According to https://travis-ci.org/opencontainers/runc/requests, "Abuse detected" 😕

@BooleanCat
Copy link

@tianon This happened recently to a PR made to containers/image. An email to travis support and they were able to remove this "abuse" marker. I can email them in a few hours when I'm home.

@mrunalp
Copy link
Contributor

mrunalp commented Oct 30, 2017

👍

@BooleanCat
Copy link

@crosbymichael could you try opening and closing again please?

I've contacted Travis and they've marked our org as not abusive :)

When running runc tests with temp directory with size 500M copying
busybox without preserving hardlinks causes the folder to inflate to
roughly 330M. Copying busybox twice in certain tests causes the /tmp
directory to overfill. Using `-a` preserves links which busybox uses to
implement its choice of binary to run.

Signed-off-by: Tom Godkin <tgodkin@pivotal.io>
@BooleanCat
Copy link

@dqminh @crosbymichael We've force pushed an empty commit to re-trigger Travis and it's gone green :)

Looks like the "LGTM"s have reset as a side effect.

@dqminh
Copy link
Contributor

dqminh commented Nov 1, 2017

LGTM

Approved with PullApprove

1 similar comment
@crosbymichael
Copy link
Member

crosbymichael commented Nov 1, 2017

LGTM

Approved with PullApprove

@crosbymichael crosbymichael merged commit 0232e38 into opencontainers:master Nov 1, 2017
@BooleanCat BooleanCat deleted the busybox-inflation branch November 1, 2017 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants