On a somewhat related note, the rhn-applet uses more than 30MB of virtual memory. That is just WAY too big. Also look at its CPU time after a few days running. The combined time of it doing *something* seems a bit too much IMHO.
Ick, 30MB and 16MB resident for the rhn-applet? I took a quick look at the rhn-applet-gui on RHEL3 and FC2-test 3. The applet has definitely gotten bloated. The RHN people just sit around the corner from me I might point this out to them. -Will
On RHEL3
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
2227 wcohen 25 10 12896 6872 2512 S N 0.0 2.7 21:13 1 rhn-applet-gu
On FC2-test3
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 9664 wcohen 25 10 29592 16m 22m S 0.0 3.2 0:00.45 rhn-applet-gui
This applet is pulling in lots of libraries. Just counting the number of memory maps, no consideration about the amount of space for each map:
RHEL 3
236 map entries 106 shared library code ( grep "r-xp" /tmp/rhn-app.map |grep ".so"|wc) 106 shared library data ( grep "rw-p" /tmp/rhn-app.map |grep ".so"|wc)
107 executable (grep "r-xp" /tmp/rhn-app.map |wc) 124 rw data (grep "rw-p" /tmp/rhn-app.map |wc) 2 ro data (grep "r--p" /tmp/rhn-app.map |wc)
FC2-test3
270 map entries 115 shared library code ( grep "r-xp" /tmp/rhn-app.map |grep ".so"|wc) 115 shared library data ( grep "rw-p" /tmp/rhn-app.map |grep ".so"|wc)
117 executables (grep "r-xp" /tmp/rhn-app.map.fc2 |wc) 139 rw data (grep "rw-p" /tmp/rhn-app.map |wc) 10 ro data (grep "r--p" /tmp/rhn-app.map |wc)
Files mapped into FC2-test3 but don't appear to be listed in RHEL3
+/lib/libcom_err.so.2.1 +/lib/libnss_files-2.3.3.so +/lib/libselinux.so.1 +/lib/tls/librt-2.3.3.so +/usr/lib/libasound.so.2.0.0 +/usr/lib/libgnome-keyring.so.0.0.0 +/usr/lib/libgssapi_krb5.so.2.2 +/usr/lib/libIDL-2.so.0.0.0 +/usr/lib/libk5crypto.so.3.0 +/usr/lib/libkrb5.so.3.2 +/usr/lib/libORBit-imodule-2.so.0.0.0 +/usr/lib/python2.3/lib-dynload/binascii.so +/usr/lib/python2.3/lib-dynload/md5module.so +/usr/lib/python2.3/lib-dynload/_random.so +/usr/lib/python2.3/lib-dynload/_ssl.so +/usr/lib/python2.3/site-packages/_xmlplus/parsers/pyexpat.so +/usr/X11R6/lib/libXcursor.so.1.0.2