Op za 11-10-2003, om 02:00 schreef Carl Erhorn:
> Hi, Folks.
>  
> During a session today, I happened to see some uploads to others
> showing up with a status of waiting, and a ETA time that went into the
> thousands of days! That must surely be an error of some kind, as it's
> not very likely that my system will exist for more than a thousand or
> two days. Since 5 years is less than 2000 days, and that is a
> reasonable lifetime for any small computer, I'm fairly sure that this
> was caused by either an uninitalized variable, or an incorrect
> calculation. It happened for three files at the same time, all of
> which had just completed uploading a segment of a large file, and were
> waiting for the request for the next segment.

Actually, you just found an unimplemented part of PARQ. You probably
don't have bandwith control enabled for HTTP upload. PARQ uses this
setting to calculate the ETA. If this setting is not set, it is very
pessmistic and assumes a throughput of 1 byte / sec.  I still need to
replace this with HTTP average out / max number of uploads. Look in the
PARQ code for calculate_eta if you would like to change this behaviour.

-- 
Jeroen Asselman <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: Dit berichtdeel is digitaal ondertekend

Reply via email to