Cache Folder space check

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
torbens_dk
Newbie
Newbie
Posts: 4
Joined: November 10th, 2008, 12:58 pm

Cache Folder space check

Post 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
Last edited by torbens_dk on November 11th, 2009, 8:51 am, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Cache Folder space check

Post 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.
torbens_dk
Newbie
Newbie
Posts: 4
Joined: November 10th, 2008, 12:58 pm

Re: Cache Folder space check

Post 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.
Post Reply