qBittorrent icon indicating copy to clipboard operation
qBittorrent copied to clipboard

"No space left on device" error when there still is free space in storage, but sum of files being downloaded exceed that

Open wisdomtooth opened this issue 2 years ago • 12 comments

qBittorrent & operating system versions

qBittorrent: 4.4.1 x64 OS: Windows 10 Home 21H2 x64 19044.1586 (10.0.19044) Qt: 5.15.2 libtorrent-rasterbar: 2.0.5.0 Boost: 1.78.0 OpenSSL: 1.1.1m zlib: 1.2.11

What is the problem?

I get all sorts of errors (misspelled "errored"), not only "no sapce left" but also "invalid pointer", "end of file", etc, when the sum of files being downloaded exceed free space in the target drive even when there is plenty of room left for each of them individually (even when Pre-allocate disk space for all files is NOT selected). qBittorrent then grinds to a halt and stops downloading anything. If I then copy the magnet links onto a notepad, and feed qBittorrent one at a time, it works flawlessly. Unless Pre-allocate disk space for all files is selected, qBittorrent should indeed check for available free space, but individually, not collectively (as any OS copying several files does).

Steps to reproduce

  1. Add a set of torrent files whose target files all fit into the available free space, but not their sum.
  2. Watch qBittorrent give all sorts of different error msgs in the status column--"invalid pointer", "end of file", in addition to "no space left", and grind to a halt.

Additional context

image

Log(s) & preferences file(s)

(W) 2022-03-24T17:42:07 - File error alert. Torrent: "[filename]". File: "[filename]". Reason: [torrentname] [i_c] file_read [filepath] [i_c][filename] error: Input/output error
(W) 2022-03-24T17:42:08 - File error alert. Torrent: "[filename]". File: "[filename]". Reason: [torrentname] [i_c] file_read [filepath] [i_c][filename] error: Input/output error
(W) 2022-03-24T17:45:12 - File error alert. Torrent: "[filename]". File: "[filename]". Reason: [torrentname] [i_c] file_read [filepath] [i_c][filename] error: Input/output error
(W) 2022-03-24T17:45:13 - File error alert. Torrent: "[filename]". File: "[filename]". Reason: [torrentname] [i_c] file_read [filepath] [i_c][filename] error: Input/output error
(W) 2022-03-24T17:45:14 - File error alert. Torrent: "[filename]". File: "[filename]". Reason: [torrentname] [i_c] file_read [filepath] [i_c][filename] error: Input/output error
(W) 2022-03-24T17:45:15 - File error alert. Torrent: "[filename]". File: "[filename]". Reason: [torrentname] [i_c] file_read [filepath] [i_c][filename] error: Input/output error
(W) 2022-03-24T17:45:16 - File error alert. Torrent: "[filename]". File: "[filename]". Reason: [torrentname] [i_c] file_read [filepath] [i_c][filename] error: Input/output error
(W) 2022-03-24T17:45:18 - File error alert. Torrent: "[filename]". File: "[filename]". Reason: [torrentname] [i_c] file_read [filepath] [i_c][filename] error: Input/output error
(W) 2022-03-24T17:45:19 - File error alert. Torrent: "[filename]". File: "[filename]". Reason: [torrentname] [i_c] file_read [filepath] [i_c][filename] error: Input/output error
(W) 2022-03-24T17:45:20 - File error alert. Torrent: "[filename]". File: "[filename]". Reason: [torrentname] [i_c] file_read [filepath] [i_c][filename] error: Input/output error
(W) 2022-03-24T17:45:21 - File error alert. Torrent: "[filename]". File: "[filename]". Reason: [torrentname] [i_c] file_read [filepath] [i_c][filename] error: Input/output error
(W) 2022-03-24T17:45:22 - File error alert. Torrent: "[filename]". File: "[filename]". Reason: [torrentname] [i_c] file_read [filepath] [i_c][filename] error: Input/output error
(W) 2022-03-24T17:45:23 - File error alert. Torrent: "[filename]". File: "[filename]". Reason: [torrentname] [i_c] file_read [filepath] [i_c][filename] error: Input/output error
(W) 2022-03-24T17:45:24 - File error alert. Torrent: "[filename]". File: "[filename]". Reason: [torrentname] [i_c] file_read [filepath] [i_c][filename] error: Input/output error
(W) 2022-03-24T17:45:25 - File error alert. Torrent: "[filename]". File: "[filename]". Reason: [torrentname] [i_c] file_read [filepath] [i_c][filename] error: Input/output error
(W) 2022-03-24T17:45:26 - File error alert. Torrent: "[filename]". File: "[filename]". Reason: [torrentname] [i_c] file_read [filepath] [i_c][filename] error: Input/output error
(W) 2022-03-24T17:45:27 - File error alert. Torrent: "[filename]". File: "[filename]". Reason: [torrentname] [i_c] file_read [filepath] [i_c][filename] error: Input/output error
(W) 2022-03-24T17:45:29 - File error alert. Torrent: "[filename]". File: "[filename]". Reason: [torrentname] [i_c] file_read [filepath] [i_c][filename] error: End of file
(W) 2022-03-24T17:45:32 - File error alert. Torrent: "[filename]". File: "[filename]". Reason: [torrentname] [i_c] file_read [filepath] [i_c][filename] error: Input/output error
(W) 2022-03-24T17:45:33 - File error alert. Torrent: "[filename]". File: "[filename]". Reason: [torrentname] [i_c] file_read [filepath] [i_c][filename] error: Input/output error
(W) 2022-03-24T17:45:34 - File error alert. Torrent: "[filename]". File: "[filename]". Reason: [torrentname] [i_c] file_read [filepath] [i_c][filename] error: Input/output error
(W) 2022-03-24T17:45:35 - File error alert. Torrent: "[filename]". File: "[filename]". Reason: [torrentname] [i_c] file_read [filepath] [i_c][filename] error: Input/output error
(W) 2022-03-24T17:45:37 - File error alert. Torrent: "[filename]". File: "[filename]". Reason: [torrentname] [i_c] file_read [filepath] [i_c][filename] error: Input/output error
(W) 2022-03-24T17:45:38 - File error alert. Torrent: "[filename]". File: "[filename]". Reason: [torrentname] [i_c] file_read [filepath] [i_c][filename] error: Input/output error
(W) 2022-03-24T17:45:45 - File error alert. Torrent: "[filename]". File: "[filename]". Reason: [torrentname] [i_c] file_read [filepath] [i_c][filename] error: Input/output error
(W) 2022-03-24T17:46:18 - File error alert. Torrent: "[filename]". File: "[filename]". Reason: [torrentname] [i_c] file_write [filepath] [i_c][filename] error: No space left on device
(W) 2022-03-24T17:56:22 - File error alert. Torrent: "[filename]". File: "[filename]". Reason: [torrentname] [i_c] file_write [filepath] [i_c][filename] error: No space left on device
(W) 2022-03-24T18:06:53 - File error alert. Torrent: "[filename]". File: "[filename]". Reason: [torrentname] [i_c] file_write [filepath] [i_c][filename] error: No space left on device
(W) 2022-03-24T18:17:18 - File error alert. Torrent: "[filename]". File: "[filename]". Reason: [torrentname] [i_c] file_write [filepath] [i_c][filename] error: No space left on device
(W) 2022-03-24T18:57:09 - File error alert. Torrent: "[filename]". File: "[filename]". Reason: [filename] file_write ([filepath]) error: No space left on device
(W) 2022-03-24T18:57:09 - File error alert. Torrent: "[filename]". File: "[filename]". Reason: [torrentname] [i_c] file_write [filepath] [i_c][filename] error: No space left on device
(W) 2022-03-24T18:57:09 - File error alert. Torrent: "[filename]". File: "[filename]". Reason: [torrentname] [i_c] file_write [filepath] [i_c][filename] error: No space left on device```

wisdomtooth avatar Mar 24 '22 09:03 wisdomtooth