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

duperemove: increase open file limit from default to maximum available #269

Merged
merged 1 commit into from
Aug 3, 2021

Conversation

trofi
Copy link
Contributor

@trofi trofi commented Jul 27, 2021

On 32-CPU machine with SSD I occasionally get -EMFILE errors when deduping as:
# duperemove -dr --hashfile=dupes.db /

My guess is that we exhausl relatively small 1K default RLIMIT_NOFILE.
The change cranks up the limit from 1K to 512K on x86_64 linux.

On 32-CPU machine with SSD I occasionally get -EMFILE errors when deduping as:
    # duperemove -dr --hashfile=dupes.db /

My guess is that we exhausl relatively small 1K default RLIMIT_NOFILE.
The change cranks up the limit from 1K to 512K on x86_64 linux.

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
@lorddoskias lorddoskias merged commit 96dc4da into markfasheh:master Aug 3, 2021
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.

2 participants