Search found 68 matches

by salami
26 May 2014, 08:47
Forum: Support
Topic: Accurate health status
Replies: 48
Views: 19820

Re: Accurate health status

If you are using windows and have disabled DirectWrite, try enabling it and see if it makes a difference. There was a bug (fixed in r1022) that can cause incomplete files even if the articles were downloaded correctly.
by salami
23 May 2014, 16:10
Forum: Feature discussion
Topic: Maximising Throughput
Replies: 6
Views: 4647

Re: Maximising Throughput

Giganews/Supernews once claimed to be the only provider not suffering from slower speeds on older articles. What kind of difference are you seeing? Are you sure the age is the only factor? Article size can have an impact on the overall transfer rate, but you could fix that by using more connections.
by salami
22 May 2014, 21:01
Forum: Support
Topic: Could not rename tmp file
Replies: 25
Views: 10698

Re: Could not rename tmp file

Confirmed! Thanks a lot!!! Amazing how nzbget eats through those NZBs now :D
by salami
22 May 2014, 12:13
Forum: Support
Topic: Could not rename tmp file
Replies: 25
Views: 10698

Re: Could not rename tmp file

Ah ok, I tested again with m_bAllOKMessageReceived == true and it successfully downloaded and extracted 12 "overlapping" jobs without unrar.exe ever touching a single tmp file! Looks like the handle inheritance really is the root cause.
by salami
22 May 2014, 11:36
Forum: Support
Topic: Could not rename tmp file
Replies: 25
Views: 10698

Re: Could not rename tmp file

Although descriptors for opened files doesn't have inherit-attribute by default, it still looks like for every file opened in NZBGet to the time where unrar is started the handle is also passed to unrar. That might be it! This would explain why I'm only seeing "CloseFile" operations, unrar.exe migh...
by salami
22 May 2014, 10:31
Forum: Support
Topic: Could not rename tmp file
Replies: 25
Views: 10698

Re: Could not rename tmp file

Working directory is correct, changing the path didn't help either. I even mounted the Ram Disk into "{MainDir}\tmp" instead of using a drive letter and now unrar.exe shows it's accessing "\Device\ImDisk1\4333.068.tmp" etc... :?
by salami
22 May 2014, 09:55
Forum: Support
Topic: Could not rename tmp file
Replies: 25
Views: 10698

Re: Could not rename tmp file

Nope, interdir is set to ${MainDir}/intermediate and MainDir is c:\NZBGet. I verified that the image path of the process accessing the tmp files is in fact "C:\NZBGet\unrar.exe" with the following command line: "C:\NZBGet\unrar.exe" "x" "-y" "-p-" "-o+" "*.rar" "d:\downloads\NZBNAME\_unpack" Unfortu...
by salami
22 May 2014, 09:11
Forum: Support
Topic: Could not rename tmp file
Replies: 25
Views: 10698

Re: Could not rename tmp file

R: is my Ram Disk (empty and not used by anything else), I set this TempDir intentionally and disabled DirectWrite because my SSD (c:\) can't handle the IO... The perfect solution would be If nzbget could somehow do full article caching in memory, but this is a pretty simple workaround with a huge p...
by salami
22 May 2014, 08:31
Forum: Support
Topic: Could not rename tmp file
Replies: 25
Views: 10698

Re: Could not rename tmp file

Didn't get any errors from fclose, but I might have found the culprit: http://i.imgur.com/xBYc1XP.png It looks like unrar.exe is accessing the .tmp files while unpacking a previous job. I did a few more tests and the problem only appears during active unpack jobs. No clue why it would do that... May...
by salami
21 May 2014, 15:41
Forum: Support
Topic: Could not rename tmp file
Replies: 25
Views: 10698

Re: Could not rename tmp file

I have done some further testing with other ram disk tools and settings, unfortunately that didn't help. Using the resource monitor only shows nzbget.exe and the system process accessing files on the ram disk. So I'm suspecting nzbget is somehow blocking itself? I tried disabling compiler optimizati...