Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-40868

yum-cron increate random_sleep

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Critical Critical
    • None
    • rhel-7.9
    • yum
    • None
    • None
    • Low
    • rhel-swm
    • ssg_core_services
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • None

      We run an official mirror for various linux distros including CentOS, Fedora, EPEL etc.

      We see this on our mirror nodes:

      This comes from conntrack -L | wc -l

      Analyzing the logs gives more hits close to the hour for:
      /mirrors/linux/centos/7{}.9{}.2009{}/extras/x86{}_64{}/repodata/repomd.xml
      /mirrors/linux/centos/7{}.9{}.2009{}/os/x86{}_64{}/repodata/repomd.xml
      /mirrors/linux/centos/7{}.9{}.2009{}/updates/x86{}_64{}/repodata/repomd.xml

      Seeing time distribution for repomd.xml for CentOS7 gives this pattern:

      I believe this might come from yum-cron and
      /etc/yum/yum-cron-hourly.conf (el7) which includes
      random_sleep = 15 # in minutes

      Can this be changed globally (an updated package) and put 60 minutes like in RHEL 8, 9
      /etc/systemd/system/timers.target.wants/dnf-makecache.timer
      which has RandomizedDelaySec=60m ?

      It will help spreading the load.

      Thanks

        1. server.conntrack-day.png
          4 kB
          Giannis Kapetanakis
        2. centos-time.png
          65 kB
          Giannis Kapetanakis

              rh-ee-egoode Evan Goode
              bilias Giannis Kapetanakis (Inactive)
              packaging-team-maint packaging-team-maint
              Software Management QE Software Management QE
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: