mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[GH-ISSUE #638] Possible file descriptors leak #386
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @iyesin on GitHub (Oct 22, 2025).
Original GitHub issue: https://github.com/sigoden/dufs/issues/638
Problem
During the huge backup initiated from Android's SeedVault, I started getting
500 No file descriptors available (os error 24)error. After the first occurrence of this error, backup process stalled and no files were uploaded. I ranlsof -p $(pidof dufs) | wc -ljust to validate thatdufsprocess was utilizing all 1024 file descriptors that was available for my user.Configuration
The program was started with the following command line:
dufs --port 45045 --allow-upload --allow-delete --allow-search --allow-symlink --compress none /media/user/storeLog
Environment Information
0.45.0@sigoden commented on GitHub (Oct 27, 2025):
I don't think this is an issue with dufs.
It might be that your operating system's maximum file descriptor limit for users is set too low (the default is 1024). When the number of files being uploaded at the same time exceeds this limit, problems occur.
Please increase the system-wide file descriptor limit
@iyesin commented on GitHub (Oct 29, 2025):
@sigoden your feedback is not very constructive. And, it does not solve the use case of mine (and, most likely, bunch of other casual users).
I have another webdav solution running for weeks in the same environment without the problem. Same user, same backup program as client, thus, it does not have the problem, I experienced with dufs.