Page 1 of 1

Cache Folder space check

Posted: November 11th, 2009, 8:48 am
by torbens_dk
I have now experienced twice that the Cache Folder maxed out the avilable space.
To limit the problem I created a partion for cache after the fist cache and ran with 5G thinking no way is anybody going to post files that big as a single file.

Problem is a have the "sort by age" ticked and the RSS updates made the unthinkable happend.
All download got just bits and pieces of just about any item in the list of about 60 items and it ran full.

The problem is this, sabnzb+ seems to store some important files in this folder:
bookmarks.sab  bytes7.sab  queue7.sab  rss_data.sab  watched_data.sab

Which on Linux gives corrupted queue file if you just shutdown insted of freeing space and doing a shutdown.

I don't know of any real good solution, maybe a thread for space management that know or allocates the space before a part is downloaded.


The easy solution right now. Uncheck "sort by age".


update:
Version: SABnzbd 0.4.12
OS: CentOS release 5.4 (Final)
Filesystem: ext3

Re: Cache Folder space check

Posted: November 11th, 2009, 8:55 am
by shypike
First, you can set a threshold for the download drive, say 100M. (Config->Folders)
Then downloading will stop if less than 100M is free.
This works only when cache and the download folder live on the same drive.
Get used to big files :(

I don't think just "sort-by-age" is the problem, but top_only instead.
Set the option "Only get articles for top of the queue" on Config->Switches to ON.
That way articles are downloaded per job.
Sort-by-age may add to the problem though.

Re: Cache Folder space check

Posted: November 11th, 2009, 9:04 am
by torbens_dk
Only fetch the top-most is was on all the time.  :(

My download folder is on a soft raid volume, so having cache and download folder on the same drives will use a lot of I/O.
Pause won't really help if their is no escape path like freeing more space if the now files are downloaded complete like I had.