Bug 1857029 - dnf-makecache.timer make my network bandwidth higher than my prediction
Summary: dnf-makecache.timer make my network bandwidth higher than my prediction
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 33
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
Assignee: Lukáš Hrázký
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-15 01:13 UTC by zhangrui182
Modified: 2021-03-03 23:15 UTC (History)
10 users (show)

Fixed In Version: dnf-4.6.0-1.fc33
Clone Of:
Environment:
Last Closed: 2021-03-03 23:15:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description zhangrui182 2020-07-15 01:13:25 UTC
Description of problem:
dnf-makecache.timer make my network bandwidth higher than my prediction

Version-Release number of selected component (if applicable):
dnf-4.2.15
libdnf-0.37.2

How reproducible:


Steps to Reproduce:
1.Deploy 4000 virtual machines at the same time
2.They trigger dnf-makecache.timer at the same time
3.

Actual results:


Expected results:
Don't want to take up too much network bandwidth

Additional info:

Comment 1 Lukáš Hrázký 2020-07-20 11:21:55 UTC
We will use the same timer randomization as is used with the dnf-automatic timers. Is that ok with you zhangrui?

Comment 2 zhangrui182 2020-07-22 01:36:56 UTC
I think it is OK

Comment 3 zhangrui182 2020-07-29 09:24:40 UTC
Hi lhrazky
    Sorry for disturbing you
    
    Can you reproduce the problem I asked? Do we really need this automatic service,because it does pose a risk to my system?
    
    thanks

Comment 4 Lukáš Hrázký 2020-07-29 10:36:09 UTC
Hi zhangrui, I didn't get to look into it yet, but I believe I don't need to reproduce, there is no randomization to the timer so we know the problem can occur.

Are you saying you would prefer to not have the makecache timer at all? Is it possible for you to disable it before deploying the VMs?

Comment 5 Lukáš Hrázký 2020-08-03 14:21:16 UTC
PR: https://github.com/rpm-software-management/dnf/pull/1648

Comment 6 Ben Cotton 2020-08-11 15:32:39 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle.
Changing version to 33.

Comment 7 Fedora Update System 2021-03-02 16:59:27 UTC
FEDORA-2021-4935120076 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-4935120076

Comment 8 Fedora Update System 2021-03-03 23:15:39 UTC
FEDORA-2021-4935120076 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.