Bug 231743 - yum-updatesd has atrocious memory leak?
yum-updatesd has atrocious memory leak?
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: yum (Show other bugs)
rawhide
x86_64 Linux
medium Severity high
: ---
: ---
Assigned To: Jeremy Katz
:
: 232411 (view as bug list)
Depends On:
Blocks: FC7Blocker
  Show dependency treegraph
 
Reported: 2007-03-10 20:17 EST by David Nielsen
Modified: 2014-01-21 17:57 EST (History)
4 users (show)

See Also:
Fixed In Version: yum-3.1.7-2.fc7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-05-10 21:35:43 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description David Nielsen 2007-03-10 20:17:31 EST
Description of problem:
I noticed that yum-updatesd goes totally out of control and gobbles up a lot of
memory lately. E.g. it's currently registered as using 139MB of memory according
to gnome-system-monitor.

Version-Release number of selected component (if applicable):
yum-updatesd-3.1.4-1.fc7

How reproducible:
100%

Steps to Reproduce:
1. enable yum-updatesd
Comment 1 Jeremy Katz 2007-03-19 18:05:10 EDT
*** Bug 232411 has been marked as a duplicate of this bug. ***
Comment 2 Larry Bartz 2007-04-10 09:11:58 EDT
We observe similar behavior in yum-updatesd-3.0.5-1.fc6 on i386. The yum-
updatesd process grows by approx 6MB on every run_interval cycle. This behavior 
is consistent among several machines over a twenty-four hour period.
Comment 3 Larry Bartz 2007-04-18 10:01:59 EDT
Last week's update to yum-3.0.5-2.fc6 and yum-updatesd-3.0.5-2.fc6 did not 
alleviate the problem. Also, why did the update not remove yum-3.0.5-1.fc6 and 
yum-updatesd-3.0.5-1.fc6?



Comment 4 Joshua Jensen 2007-04-29 19:12:32 EDT
I've noticed the same thing.  yum-3.0.5-1.fc6 and yum-updatesd-3.0.5-1.fc6
didn't go away... I've got both the 3.0.5 and 3.0.6 packages.  Top's
sort-by-memory view is scary:

PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
2923 root      15   0  596m 327m 4748 S    0 32.8   0:15.47 yum-updatesd

I have a gig of memory... why is yum-updatesd taking 1/3rd of my system memory?
 I've seen it go up to 40 percent.  This needs to be addressed!

I've removed the 3.0.5 versions, and made sure the 3.0.6 packages verify... I'll
keep this bug posted as to if that helps solve the terrible memory consumption.
Comment 5 Larry Bartz 2007-05-03 14:41:16 EDT
Yesterday's updates to yum-3.0.6-1.fc6 and yum-updatesd-3.0.6-1.fc6 have not 
alleviated the memory leak. The yum-updatesd process still leaks approx 6MB on 
every run_interval cycle. Once again, the RPM package did not remove the 
previous version. 
Comment 6 David Nielsen 2007-05-10 21:35:43 EDT
All the comments seem to be against the FC6 version of yum but I opened the bug
against the F7 version. This seems to be behaving a whole lot better than it
used to. As this is blocking F7 more feedback on the current usage of
yum-3.1.7-2.fc7 or above would be nice so that this bug could potentially be closed.

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