UNPACK in specified temp directory

Get help with all aspects of 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
XiS
Newbie
Newbie
Posts: 5
Joined: May 1st, 2009, 11:01 am

UNPACK in specified temp directory

Post by XiS »

Dear Sabnzbd users,

I had some performance problems with sabnzbd downloading on my 1.5 TB SATA media drive. Because the parring and unpacking is pretty intensive disk usage I decided to add (another) 15K SCSI drive in my server to use as sabnzbd parring /temp drive so it would not interfere with (a lot of) people streaming media of my media drive via SMB. The only problem is that sabnzbd doesn't have an option to specify an unpacking directory but only the cache and temp folder for parring and repairing so my problem wasn't solved this way.

I'm looking for a solution to do all the parring repairing and unpacking  on the 15K SCSI drive and then move it to final destination so people won't notice when watching/listening my media. I searched around on the forum and found someone who uses robocopy in a cronjob to watch a temp directory to complete unpacking and then move it to the final destination. But I don't think that's a clean solution because I have around 15 categories in sabnzbd that need to be watched by different crons when using this method. I was wondering if anyone else knows a better solution to this problem.

Edit: I'm running on a Windows 2003 RC2 server by the way.

Cheers,

XiS
Last edited by XiS on November 4th, 2010, 3:32 pm, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: UNPACK in specified temp directory

Post by shypike »

XiS wrote: that sabnzbd doesn't have an option to specify an unpacking directory
I don't understand your problem.
You cat set separate folders for the cache, for the temporary download folder and for each category.
So you can always unpack from one drive to another.
XiS
Newbie
Newbie
Posts: 5
Joined: May 1st, 2009, 11:01 am

Re: UNPACK in specified temp directory

Post by XiS »

Sorry For my very late reply. But I'm trying to say that you can't do the unpacking action on drive X and after unpacking moving it to Drive Y
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: UNPACK in specified temp directory

Post by shypike »

SABnzbd is designed to unpack from the temporary to the final folder.
These can be on the same drive or on different drives.

When you want to download and unpack on the same drive, that's possible.
If you want to move the end result to a different drive, you need to write your own user script.
XiS
Newbie
Newbie
Posts: 5
Joined: May 1st, 2009, 11:01 am

Re: UNPACK in specified temp directory

Post by XiS »

Thanks for your fast reply. I guess is i'll have to create my own script. But I wonder if a 'normal' copy will be different in terms of I/O (random/sequential) on the destination disk to the unpack method. Cause for some reason streams are stuttering when sabnzbd is unpacking to destination disk.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: UNPACK in specified temp directory

Post by shypike »

It's unrar that does the unpacking and it is very capable of saturating the disk channel.
Unlike Linux, Windows doesn't have the ionice utility.
I have a similar problem with my WHS box.
So I never download in the evenings.
XiS
Newbie
Newbie
Posts: 5
Joined: May 1st, 2009, 11:01 am

Re: UNPACK in specified temp directory

Post by XiS »

Hmm, yea. Yet another reason why I should make the switch to linux. Well thanks for your help. Maybe this is going to be the decisive argument for me to switch to linux, or, maybe I'll just make a script to copy it at a slow rate.

Thanks again.

XiS
Post Reply