-
Notifications
You must be signed in to change notification settings - Fork 82
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
v0.11.2 seems to hang? #255
Comments
Does this happen if you run duperemove on any directory or only on this particular one? Can you provide the output of duperemove when run with the |
@lorddoskias debug shows that it's running on several files, I captured duperemove-debug.txt I then closed Chrome and then it was only looping on:
|
Is this an XFS or a btrfs filesystem? |
Btrfs. Fsck is fine. |
This is really odd, I'm not able to reproduce this:
And this is also on a btrfs filesystem. Also the log you provide is indeed strange. Initially duperemove finds 2 extents (which is corroborated by your filefrag output)
Because FIEMAP_EXTENT_LAST is set then the loop in csum_by_extent should break, even the looping output suggests this flag is set:
At this point I'm wondering if perhahps your database file is using the old, v2 format which hashes files in blocksizes and uses slightly different logic. Can you provide the output of the following command:
|
Ok I managed to reproduce it, working on a fix. |
Should be fixed by fd20113 , please retest. |
Any feedback on the fix, I'd like to close the issue. |
Yes apologies, it's a bit of work to reproduce the build locally, I didn't
get around to it yet. I'll do it asap.
Wout.
…On Tue, Dec 8, 2020 at 12:54 PM lorddoskias ***@***.***> wrote:
Any feedback on the fix, I'd like to close the issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#255 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAANNFRCIV6BUQKACLOMBRLSTYHZFANCNFSM4UCUZ4NA>
.
|
It works, thanks! 🎉 |
Fixed in fd20113 |
When I run 0.11.2 with Linux 5.9.9, it seems to run ok but hangs after it completes:
If I let it be, it takes 200% CPU for hours and I let it crawl up to 6.8GB RAM before I killed it.
strace -f shows this after a while, it looks like its looping, lots of similar numbers:
Anything I can do to debug?
The text was updated successfully, but these errors were encountered: