Jump to content

Endless ~uTorrentPartFile_*.dat write halts disk activity


John Peterson

Recommended Posts

uTorrent get stuck in an endless ~uTorrentPartFile_*.dat writing loop when starting a download and when checking a download. It can be observed that

(i) uT's only file activity is writing to the .dat, disk cache is maxed (at 1000 m) as a result and other downloads have been placed on queue and therefore stopped,

(ii) since no other files are created during the writing loop it can take hours before any other torrent file is written,

(iii) by observing the .dat file size the majority of writing is overwriting, since the file grows slowly at around 1/100 the writing speed,

(iv) the torrent is 249 g in 798 files of which 40 files are selected for download,

(v) the torrent has been downloading for about 20 minutes,

(vi) no torrent files have been created except the .dat.

(vii) if the .dat file handle is closed from Process Explorer it's instantly reopened by uTorrent.exe,

(viii) as a result the uTorrent.exe process will not end when closed, until the loop ends.

To reproduce the bug, downloading any big torrent should be enough, at least 200 g, 400 g or more doesn't hurt.

https://dl.dropboxusercontent.com/sh/2z5p162ovqtbn17/Bnv5AW0ctR/image/utorrent/dat_write_endless.png?token_hash=AAGv38bj7NHeIQxso-uhYODLIQvw4f6eGvkxI9F0NYHOrQ

Update 1: After a second try with the same torrent and only one file selected for download that one file is eventually written after much resultless .dat writing, selecting additional files for writing eventually result in a file, but after more disk activity than would seemingly be necessary.

Update 2: A third try with a 400 g torrent with 10 000 files the "endless" .dat writing halted disc activity for 30 - 60 min before continuing. (And using around 6 m/s in disk speed during that.) When continuing the torrent download went to 37% (37% of 50 of 10 000 files selected for download) and then started the "endless" .dat writing procedure again, halting disk activity again. As the download reached 70% it produced a "Error: Element not found" status (I have not seen that message before) and stopped downloading. So it's not endless, but can take hours.

uT 3.1-26616

Windows 7 x64

Link to comment
Share on other sites

  • 3 months later...

Same here (uTorrent.exe build 27020).

But I have 100GB torrent with only some files selected for downloading.

Using Process Monitor I see that ~uTorrentPartFile is slowly (by 4 bytes!) is growing:

...

13:42:24.7008120 uTorrent.exe 4196 ReadFile \\192.168.1.1\Movies\SomeMovie\~uTorrentPartFile_1A04937B71.dat END OF FILE Offset: 3 015 340, Length: 4, Priority: Very Low

13:42:24.7024834 uTorrent.exe 4196 WriteFile \\192.168.1.1\Movies\SomeMovie\~uTorrentPartFile_1A04937B71.dat SUCCESS Offset: 3 015 340, Length: 4, Priority: Very Low

13:42:24.7048001 uTorrent.exe 4196 ReadFile \\192.168.1.1\Movies\SomeMovie\~uTorrentPartFile_1A04937B71.dat END OF FILE Offset: 3 015 344, Length: 4, Priority: Very Low

13:42:24.7063765 uTorrent.exe 4196 WriteFile \\192.168.1.1\Movies\SomeMovie\~uTorrentPartFile_1A04937B71.dat SUCCESS Offset: 3 015 344, Length: 4, Priority: Very Low

13:42:24.7080190 uTorrent.exe 4196 ReadFile \\192.168.1.1\Movies\SomeMovie\~uTorrentPartFile_1A04937B71.dat END OF FILE Offset: 3 015 348, Length: 4, Priority: Very Low

13:42:24.7095819 uTorrent.exe 4196 WriteFile \\192.168.1.1\Movies\SomeMovie\~uTorrentPartFile_1A04937B71.dat SUCCESS Offset: 3 015 348, Length: 4, Priority: Very Low

13:42:24.7114554 uTorrent.exe 4196 ReadFile \\192.168.1.1\Movies\SomeMovie\~uTorrentPartFile_1A04937B71.dat END OF FILE Offset: 3 015 352, Length: 4, Priority: Very Low

13:42:24.7129541 uTorrent.exe 4196 WriteFile \\192.168.1.1\Movies\SomeMovie\~uTorrentPartFile_1A04937B71.dat SUCCESS Offset: 3 015 352, Length: 4, Priority: Very Low

13:42:24.7146749 uTorrent.exe 4196 ReadFile \\192.168.1.1\Movies\SomeMovie\~uTorrentPartFile_1A04937B71.dat END OF FILE Offset: 3 015 356, Length: 4, Priority: Very Low

13:42:24.7163661 uTorrent.exe 4196 WriteFile \\192.168.1.1\Movies\SomeMovie\~uTorrentPartFile_1A04937B71.dat SUCCESS Offset: 3 015 356, Length: 4, Priority: Very Low

13:42:24.7180516 uTorrent.exe 4196 ReadFile \\192.168.1.1\Movies\SomeMovie\~uTorrentPartFile_1A04937B71.dat END OF FILE Offset: 3 015 360, Length: 4, Priority: Very Low

13:42:24.7196549 uTorrent.exe 4196 WriteFile \\192.168.1.1\Movies\SomeMovie\~uTorrentPartFile_1A04937B71.dat SUCCESS Offset: 3 015 360, Length: 4, Priority: Very Low

13:42:24.7213609 uTorrent.exe 4196 ReadFile \\192.168.1.1\Movies\SomeMovie\~uTorrentPartFile_1A04937B71.dat END OF FILE Offset: 3 015 364, Length: 4, Priority: Very Low

...

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...