Newsbin writes full file to disk when unraring only part01

Technical support and discussion of Newsbin Version 6 series.

Newsbin writes full file to disk when unraring only part01

Postby ricer » Tue May 15, 2018 6:12 am

Hi,

I like to check files first and I often download only the first rar (part01), but when autounrar is enabled, it instantly creates and writes the full file to the disk. Thus downloading only 50MB often results in writing 10GB to the SSD. It slows down the Computer and creates a huge load on the SSD.

Is there a way where I can disable that Newsbin instantly writes the full file to the disk?
ricer
n00b
n00b
 
Posts: 7
Joined: Mon Jan 06, 2014 3:25 pm

Registered Newsbin User since: 11/07/13

Re: Newsbin writes full file to disk when unraring only part

Postby Quade » Tue May 15, 2018 10:18 am

It's not actually writing the full 10 gigs. It is probably allocating the full 10 gigs though.

What version are you using? How do I trigger this?
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 43022
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Newsbin writes full file to disk when unraring only part

Postby ricer » Tue May 15, 2018 12:10 pm

Newsbin runs in a VM (VMware) und downloads to a shared folder. Whenever it tries to unrar part01.rar it definetely writes to that folder a lot of data. Is there a trigger to prevent newsbin from trying to allocate the full file size?
ricer
n00b
n00b
 
Posts: 7
Joined: Mon Jan 06, 2014 3:25 pm

Registered Newsbin User since: 11/07/13

Re: Newsbin writes full file to disk when unraring only part

Postby Quade » Tue May 15, 2018 4:54 pm

What version are using?
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 43022
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Newsbin writes full file to disk when unraring only part

Postby ricer » Wed May 16, 2018 2:41 am

6.80 - but the same happened with 6.7x.
ricer
n00b
n00b
 
Posts: 7
Joined: Mon Jan 06, 2014 3:25 pm

Registered Newsbin User since: 11/07/13

Re: Newsbin writes full file to disk when unraring only part

Postby Quade » Wed May 16, 2018 4:04 am

Not sure there's a solution other than code changes. I agree it shouldn't do that. The unrar code doesn't know the difference between "sample" and "unrar" so it always sets the size to equal the actual output file size even though it doesn't have enough rars to complete the unrar.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 43022
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97


Return to V6 Technical Support

Who is online

Users browsing this forum: Google [Bot] and 5 guests

cron