Red Hat Bugzilla – Bug 1001767
Negative downloading speed in yum
Last modified: 2013-09-29 20:42:29 EDT
Description of problem:
Sometimes yum shows negative downloading speed.
Version-Release number of selected component (if applicable):
I don't know guaranteed way to reproduce it, but from what I noticed it is more likely to get it on slow/laggy connections. The most of times I observed it were when I used EvDO/CDMA connection (maximal speed - 3.1 Mbits/s, actual speed varies hugely depending on signal strength and weather on Mars). With my fast 25 Mbit/s connection, it is very rare thing but I still saw it a few times.
Steps to Reproduce:
1. Connect to slow Internet (recommended, but can occur with fast one too)
2. yum update (or yum install a-lot-of-huge-things)
3. Wait and watch... Wait and watch...
4. And then it will happen. Or not. Usually it lasts only a few seconds, but sometimes yum drops connection with mirror because of it (more than 60 seconds with speed <1000b/s)
Negative downloading speed.
Actual or at least positive downloading speed.
I'll look at the rate estimator code if there's some obvious bug. It does simple temporal averaging and if every partial input is >=0 the output should never be negative. Probably the input to the estimator was garbage (negative size or time deltas).
> but sometimes yum drops connection with mirror because of it (more than 60 seconds with speed <1000b/s)
That's unrelated. The displayed download speed is UI thing *only*. Yum does not close the connection, curl does (it does no averaging, speed has to be below the limit for the whole period). If you don't want this, set "minrate=100" or so in yum.conf
python-urlgrabber-3.9.1-32.fc19 has been submitted as an update for Fedora 19.
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-urlgrabber-3.9.1-32.fc19'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
python-urlgrabber-3.9.1-32.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.