yum bandwidth throttle not throttling
I have recently installed RHEL 6.1. I have modified /etc/yum.conf to throttle the bandwidth that yum utilizes when downloading updates. I am trying to limit yum to 20 kB/s, but it uses up all available bandwidth on our T1. Here is my /etc/yum.conf file:
[main] cachedir=/var/cache/yum/$basearch/$releasever keepcache=0 debuglevel=2 logfile=/var/log/yum.log exactarch=1 obsoletes=1 gpgcheck=1 plugins=1 installonly_limit=3 throttle=20k exclude=kernel*
yum continues to use 160+ kB/s. Am I missing something? Any ideas?
Responses
I assume this is an rhn repo? If so then one feature of rhnplugin is that it ignores the global "throttle" value (among other config. variables). If you set a throttle for a specific rhn repo. though, that should work.
In case of RHN classic or RHN Satellite server, it is required to specify throttle option in client systems in /etc/yum/pluginconf.d/rhnplugin.conf file for each channel as following:
[rhel-x86_64-server-6]
throttle = 20k
[rhel-x86_64-server-optional-6]
throttle = 20k
There is feature request filed for this particular issue.