From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.3) Gecko/20040924 Description of problem: After 2 days up I noticed unusual swap usage and discovered PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND 3406 root 25 10 356M 222M 7180 S N 0.0 22.8 1:18 0 rhn-applet-gui and it is continuing to grow in size as time passes. Version-Release number of selected component (if applicable): rhn-applet-2.1.18-4 How reproducible: Didn't try Steps to Reproduce: 1.Restart rhn-applet-gui 2.Watch it grow 3. Actual Results: I'm not claiming reproduction because I haven't waited 2 days to see if it becomes so huge again. Additional info:
I've noticed throughout the day on an intel box that this doesn't seem to be happening. It is happening on an (1) AuthenticAMD AMD Athlon(tm) XP 2600+ 2131 MHZ box. I hope that helps narrow it down. John
Today on an intel box I see the rhn-applet-gui using 469M, 243M resident, 4796 shared, so my previous guess about it being AMD related is wrong. I guess for now I'll just stop using it. John
Thanks for your additional comments. Developer is looking at it.
Ok, finally tracked this down to leaking SSLConnections from rhnlib.rpclib. Mihai was able to track it further for me, and can probably elaborate from there.
Fixed in rhnlib-1.8.2-1.p22.1 or newer.
Verified memory usage grows out of control and test fails on i386, ia64, and x86_64 with rhn-applet-2.1.18-4 and rhnlib-1.8-6.p22. Verified memory usage stays stable and test passes on i386, ia64, and x86_64 with rhnlib-1.8.2-1.p22.1. Ran rhn-applet-gui on i386, ia64, and x86_64 overnight and monitored memory usage with rhnlib-1.8.2-1.p22.1. No issues. i386: [root@rlx-3-04 rhn_applet]# ps auxww | grep applet root 20705 0.2 0.7 25532 14548 pts/0 SN 13:24 0:00 /usr/bin/python /usr/bin/rhn-applet-gui ia64: root 21249 1.6 1.7 90976 34640 pts/0 SN 13:25 0:03 /usr/bin/python /usr/bin/rhn-applet-gui x86_64: [root@test05-64 root]# ps auxww | grep applet root 3844 0.2 0.9 172532 19604 pts/0 SN 13:26 0:00 /usr/bin/python /usr/bin/rhn-applet-gui PASSES_QA
Is rhnlib-1.8.2-1.p22.1 available?
New version of rhnlib is *not* available yet as a public beta for Enterprise Linux 3 line of products. It is available as public beta on the Enterprise 4 channels on RHN. rhnlib-1.8.2-1.p23.1.noarch RHEL WS (v. 4 for x86) Beta rhnlib-1.8.2-1.p23.1.noarch RHEL ES (v. 4 for x86) Beta rhnlib-1.8.2-1.p23.1.noarch RHEL AS (v. 4 for x86) Beta rhnlib-1.8.2-1.p23.1.noarch Red Hat Desktop (v. 4 for x86) Beta Regards, Clifford.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2006-0103.html