-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
prune failed with too many open files #777
Comments
Just got hit with this yesterday, thought it was my repo that is too big, now it looks more like a bug. Right now running with elevated ulimit -n to 65536 files. Will take about 16h before I know if that helped. restic 0.4.0 (v0.4.0-7-g22f3e21)
|
Oh wow, that's a bad bug, thanks for reporting it! |
Heh, found the bug. =) |
Could one of you please test the fix in #778? |
Works for me now: restic 0.4.0 (v0.4.0-10-g4ca134a) compiled with go1.7 on linux/amd64 index 0ca66592 has old format index 33ac50ea has old format index b828bffc has old format index 8afcecfb has old format index 2d91e0cb has old format counting files in repo building new index for repo [8:07] 100.00% 25947 / 25947 packs repository contains 25947 packs (1186932 blobs) with 121.466 GiB bytes processed 1186932 blobs: 182704 duplicate blobs, 4.487 GiB duplicate load all snapshots find data that is still in use for 11 snapshots [26:15] 100.00% 11 / 11 snapshots found 992259 of 1186932 data blobs still in use, removing 194673 blobs will delete 2497 packs and rewrite 2090 packs, this frees 12.021 GiB creating new index [6:54] 100.00% 22404 / 22404 packs saved new index as c1fdabb8 done Thank you @fd0 for your great work! |
Output of
restic version
restic 0.4.0 (v0.4.0-1-gf366a63)
compiled with go1.7 on linux/amd64
Expected behavior
restic prune
completes without error.Actual behavior
ulimit is configured to default 1024:
Steps to reproduce the behavior
I'm not sure how to reproduce this without having my data set.
The text was updated successfully, but these errors were encountered: