-
-
Notifications
You must be signed in to change notification settings - Fork 995
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
Error when downloading new torrents #6612
Comments
I believe this is a bug (or missing feature) in ntfs-3g. libtorrent supports a disk I/O back-end that doesn't use memory mapped files (which is the default in 32 bit builds). I don't know if qbt lets you pick this though, but it could. It would have to use the posix_disk_io_constructor. That might fix it. I'm suspecting the ntfs filesystem is having a hard time with memory mapped files. |
I'm using Linux kernel's new ntfs3 implementation, not the NTFS-3G one. I think NTFS-3G works, but I'm not sure. Should I try it out? BTW, if the files are already created through qbt's several failed trials, there won't be any problems during subsequent downloading and uploading of this torrent. The problem only happens when there are still files to be created. |
I see, I just assumed it was ntfs-3g you were using. What's puzzling is that the man page for Looking over the code, there seems to be an error where the true If so, the error message may be a bit more helpful. |
it seems likely that it's the
|
New error log after rebuild with the patch:
|
Should I provide any else info? |
This is still happening when using qBt 4.4. |
something in the ntfs filesystem driver is failing with
So, perhaps it's causing memory to be locked exceeding your ulimit. To me, it smells like a quality-of-implementation issue in the ntfs filesystem driver. |
Besides the I did a little experiment to compare
On
On
During my experiment, the system did not lock up, stats in |
Qbittorrent itself is locked up, too. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
I can reproduce on 5.18.6-artix Artix Linux w/ open-rc and ntfs3.
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Qbittorrent 4.4rc1 built from AUR
Libtorrent 2.0.5 built from AUR
Archlinux 5.15.11
Ntfs3
When I'm downloading a torrent into a ntfs3 mounted external hdd drive, qbit always first create those files waiting to be downloaded, then it fails and spit a log with:
2021/12/03 15:47 - File error alert. Torrent: "xxx". File: "/run/media/jay/Seagate Basic/my-files/Downloads/Bittorrent/xxx/yyy.mkv". Reason: xxx file_open (/run/media/jay/Seagate Basic/my-files/Downloads/Bittorrent/yyy.mkv) error: resource temporarily unavailable
If I try resume several times, it will retry and fails then finally finish creating those files and continue to download.
When using the same setup to download to $HOME which is on the internal ssd and formatted as ext4, there is no problem.
I run into this problem even when downloading a torrent with only 9 files.
The text was updated successfully, but these errors were encountered: