CRITICAL: Corrupted files because of full drive
Posted: September 15th, 2010, 6:00 am
Configuration:
Version: SABnzbd Version: 0.5.4
OS: openSUSE 11.3
Install-type: python source
Skin (if applicable): smpl Version: 1.3
Firewall Software: None
Are you using IPV6? Yes
Is the issue reproducible? Yes
I have around 3 gigabytes of free space on my root drive. Everything I download is to an external disk.
Temporary Download Folder: /home/username/link_to_map_on_external_drive/incomplete
Minimum Free Space for Temporary Download Folder: 100M
Completed Download Folder: /home/username/link_to_map_on_external_drive/complete
Post-Processing Scripts Folder: I use awescript
Article Cache Limit: 400M
Only Get Articles for Top of Queue: disabled
Post-Process Only Verified Jobs: enabled
Default Post-Processing: +Repair
Pause Downloading During Post-Processing: disabled
If you enable this option, the bug will not occur. I use this as a work around to be sure no corruption will find place.
System Folders
In "/home/username/.sabnzbd"
Cache Folder: cache
Problem description:
When the downloads reaches speeds of 10MiB/s, having a large queue and on 5+ year old hardware, then the root partition where the cache folder is located, will get full. Stuff will get discarded and later queued items will not be successful after par2 repairing because too much is thrown away.
Expected solution:
Pause the queue when the drive with the /home/username/.sabnzbd/cache folder is (almost) full. Keep the downloaded articles in memory instead of discarding them because the drive is full. First process completed files (and memory) before resuming download.
Similar problem:
An other (related?) problem I have: When I click pause, the downloads do not pause and just keeps downloading. The following does appear at the same time:
It says the complete path does not exist, when it actually does exist.
I start sabnzbd when the external drive isn't coupled. The queue will not be empty because of the folder it watches, so I change the complete path to the external drive. The incomplete folder is still on the root partition.
Result: I have complete downloads in the incomplete folder of the root partition, because I get errors the complete path does not exist. However, _UNPACK_name.download folders do appear in on the external drive! These folders contain exactly 2 random rar archives from the download with 0 byte size. There is plenty of space on that drive.
But it doesn't stop there, because it keeps downloading, some files of the later queued nzbs start to be incomplete. After that, all the next files will be 0 bytes and it just keeps going to the next nzb. This is on the incomplete folder at the root partition: /home/username/download/incomplete (path when the configured directory is not available at startup)
I expect sabnzbd to pause because there isn't enough space for the non processed downloads.
I think I couldn't manually pause before the drive was full. The label in the gui did show the queue is paused, but my traffic monitor and the label beneath the pause, showed traffic.
Version: SABnzbd Version: 0.5.4
OS: openSUSE 11.3
Install-type: python source
Skin (if applicable): smpl Version: 1.3
Firewall Software: None
Are you using IPV6? Yes
Is the issue reproducible? Yes
I have around 3 gigabytes of free space on my root drive. Everything I download is to an external disk.
Temporary Download Folder: /home/username/link_to_map_on_external_drive/incomplete
Minimum Free Space for Temporary Download Folder: 100M
Completed Download Folder: /home/username/link_to_map_on_external_drive/complete
Post-Processing Scripts Folder: I use awescript
Article Cache Limit: 400M
Only Get Articles for Top of Queue: disabled
Post-Process Only Verified Jobs: enabled
Default Post-Processing: +Repair
Pause Downloading During Post-Processing: disabled
If you enable this option, the bug will not occur. I use this as a work around to be sure no corruption will find place.
System Folders
In "/home/username/.sabnzbd"
Cache Folder: cache
Problem description:
When the downloads reaches speeds of 10MiB/s, having a large queue and on 5+ year old hardware, then the root partition where the cache folder is located, will get full. Stuff will get discarded and later queued items will not be successful after par2 repairing because too much is thrown away.
Expected solution:
Pause the queue when the drive with the /home/username/.sabnzbd/cache folder is (almost) full. Keep the downloaded articles in memory instead of discarding them because the drive is full. First process completed files (and memory) before resuming download.
Similar problem:
An other (related?) problem I have: When I click pause, the downloads do not pause and just keeps downloading. The following does appear at the same time:
It says the complete path does not exist, when it actually does exist.
I start sabnzbd when the external drive isn't coupled. The queue will not be empty because of the folder it watches, so I change the complete path to the external drive. The incomplete folder is still on the root partition.
Result: I have complete downloads in the incomplete folder of the root partition, because I get errors the complete path does not exist. However, _UNPACK_name.download folders do appear in on the external drive! These folders contain exactly 2 random rar archives from the download with 0 byte size. There is plenty of space on that drive.
But it doesn't stop there, because it keeps downloading, some files of the later queued nzbs start to be incomplete. After that, all the next files will be 0 bytes and it just keeps going to the next nzb. This is on the incomplete folder at the root partition: /home/username/download/incomplete (path when the configured directory is not available at startup)
I expect sabnzbd to pause because there isn't enough space for the non processed downloads.
I think I couldn't manually pause before the drive was full. The label in the gui did show the queue is paused, but my traffic monitor and the label beneath the pause, showed traffic.