Red Hat Bugzilla – Bug 249894
Yum-updatesd memory leak (10GB)
Last modified: 2008-05-06 15:43:18 EDT
Description of problem:
With an uptime of 39 days one of our boxes had a yum-updatesd with a memory
utilization of 10GB.
Version-Release number of selected component (if applicable):
Takes time, but all of our boxes do it with sufficient uptime.
Steps to Reproduce:
Let yum-updatesd run for any considerable amount of time.
[root@marvel ~]# free
total used free shared buffers cached
Mem: 4036552 4011120 25432 0 336132 1372336
-/+ buffers/cache: 2302652 1733900
Swap: 8388600 8388600 0
[root@marvel ~]# ps -aux | grep yum
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ
root 3078 0.0 28.6 9224112 1155900 ? S Jun18 31:41 /usr/bin/python
root 5441 0.0 0.0 60248 720 pts/7 S+ 13:22 0:00 grep yum
[root@marvel ~]# uptime
14:11:41 up 39 days, 1:49, 12 users, load average: 0.78, 0.83, 0.80
less than 100MB of RAM would be good.
This has also been noted in CentOS 5, haven't had a RHEL 5 box running long
enough to verify it is happening there as well. Also happens on i386.
I also have it on RHEL5 x86_64. It killed my email server quite a few times, and
I really think that yum-updatesd using 1.5GBytes of RAM is nasty, especially
since my email server stops working when as amavisd dies. I think that the
priority needs to be changed to a higher value.
Created attachment 160150 [details]
Created attachment 160151 [details]
Our solution as implimented today was to grab the old cron based yum updater
from Fedora Core 3 and place it on our FC6, CentOS5 and RHEL 5 boxes.
I understand there is talk in the other Yum thread (212507) about adding
yum-cron to extras which is essentially these 2 files attached above.
(make sure they're executeable)
chkconfig yum-updatesd off
chkconfig --add yum
> I understand there is talk in the other Yum thread (212507) about adding
> yum-cron to extras which is essentially these 2 files attached above.
Interesting, as with the 4 boxes I'm currently running yum-updatesd-3.2.5-1.fc7
on, I've yet to get it to actually _do_ any updates. It just wakes up once per
second and consumes resources.
I'm reverting back to yum-cron and giving up on yum-updatesd.
this is pretty bad on fc7 too. (both in cpu and memory!)
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2661 root 39 19 410m 187m 5644 R 27 19.9 1:05.46 yum-updatesd
Fedora apologizes that these issues have not been resolved yet. We're
sorry it's taken so long for your bug to be properly triaged and acted
on. We appreciate the time you took to report this issue and want to
make sure no important bugs slip through the cracks.
If you're currently running a version of Fedora Core between 1 and 6,
please note that Fedora no longer maintains these releases. We strongly
encourage you to upgrade to a current Fedora release. In order to
refocus our efforts as a project we are flagging all of the open bugs
for releases which are no longer maintained and closing them.
If this bug is still open against Fedora Core 1 through 6, thirty days
from now, it will be closed 'WONTFIX'. If you can reporduce this bug in
the latest Fedora version, please change to the respective version. If
you are unable to do this, please add a comment to this bug requesting
Thanks for your help, and we apologize again that we haven't handled
these issues to this point.
The process we are following is outlined here:
We will be following the process here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this
doesn't happen again.
And if you'd like to join the bug triage team to help make things
better, check out http://fedoraproject.org/wiki/BugZappers
This bug is open for a Fedora version that is no longer maintained and
will not be fixed by Fedora. Therefore we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen thus bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.