aMule Forum

English => aMule Help => Topic started by: Ramiro on September 27, 2005, 07:07:04 PM

Title: State "completing"?
Post 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
Title: Re: State "completing"?
Post by: wuischke on September 27, 2005, 07:58:33 PM
aMule calculates the hash for the file and tests wheter the file is OK or corrupt (calculated hash differs from the given).
Title: Re: State "completing"?
Post by: Ramiro on September 27, 2005, 08:25:36 PM
Thank you wuischke.
Isn't the hash calculated before for each chunk?
How can the hash then be wrong for the complete file?
Title: Re: State "completing"?
Post by: Ramiro on September 27, 2005, 08:28:45 PM
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?
Title: Re: State "completing"?
Post by: stefanero on September 27, 2005, 08:32:21 PM
yup it definetly is...
and then amule has to move the compleded file from teh temp to the incomming folder
Title: Re: State "completing"?
Post by: wuischke on September 27, 2005, 09:08:57 PM
I would guess, that it consumes more CPU than RAM, but your system is pretty weak for such things...
Title: Re: State "completing"?
Post by: thedude0001 on September 27, 2005, 09:29:20 PM
Quote
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."