aMule Forum
English => aMule Help => Topic started by: Ramiro on September 27, 2005, 07:07:04 PM
-
Hi
Does anyone know what is amule exactly doing when a file is in state 'completing'?
It can sit there for hours...
Thanks
-
aMule calculates the hash for the file and tests wheter the file is OK or corrupt (calculated hash differs from the given).
-
Thank you wuischke.
Isn't the hash calculated before for each chunk?
How can the hash then be wrong for the complete file?
-
By the way, I should say I'm running amule on a NSLU2, with only 32MB of RAM and a 133MHz ARM. Is the process of calculating the hash very CPU or RAM consuming?
-
yup it definetly is...
and then amule has to move the compleded file from teh temp to the incomming folder
-
I would guess, that it consumes more CPU than RAM, but your system is pretty weak for such things...
-
Originally posted by Ramiro
Isn't the hash calculated before for each chunk?
How can the hash then be wrong for the complete file?
Yes, the hash for each chunk is calculated when that chunk is finished downloading. It is just a precaution that after the whole file is finished everything is rechecked. It should never give errors, but it's an old rule: "Better safe than sorry."