Memory leak in Linux

Warren, Glen A glen.warren "at" pnl.gov
Tue Apr 6 18:31:02 2004


Thanks everyone for the suggestions.  I have tried to track down which
program is using the memory, but the strange thing is that the sum of
the memory used by the processes (sum of VmSize in /proc/IDs) doesn't
equal the total memory used (taken from header of top output for
instance).  

Below is a ps -ef output for anyone interested.  

Thanks again for the help.

Glen



UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 Apr05 ?        00:00:04 init
root         2     0  0 Apr05 ?        00:00:00 [migration/0]
root         3     0  0 Apr05 ?        00:00:00 [migration/1]
root         4     1  0 Apr05 ?        00:00:00 [keventd]
root         5     1  0 Apr05 ?        00:00:00 [ksoftirqd/0]
root         6     1  0 Apr05 ?        00:00:00 [ksoftirqd/1]
root         9     1  0 Apr05 ?        00:00:00 [bdflush]
root         7     1  0 Apr05 ?        00:00:00 [kswapd]
root         8     1  0 Apr05 ?        00:00:00 [kscand]
root        10     1  0 Apr05 ?        00:00:00 [kupdated]
root        11     1  0 Apr05 ?        00:00:00 [mdrecoveryd]
root        20     1  0 Apr05 ?        00:00:01 [kjournald]
root        76     1  0 Apr05 ?        00:00:00 [khubd]
root       633     1  0 Apr05 ?        00:00:00 [kjournald]
root       634     1  0 Apr05 ?        00:00:00 [kjournald]
root      3711     1  0 Apr05 ?        00:00:00 syslogd -m 0
root      3715     1  0 Apr05 ?        00:00:00 klogd -x
root      3725     1  0 Apr05 ?        00:00:03 irqbalance
rpc       3742     1  0 Apr05 ?        00:00:00 portmap
root      3827     1  0 Apr05 ?        00:00:01 cupsd
root      3863  3827  0 Apr05 ?        00:00:01
ipp://pnlps1.pnl.gov/printers/queue1 1 root testprint.ps 1
page-bottom=36 cpi=12 lpi=7 scaling=100 page-right=36 pag
root      3872     1  0 Apr05 ?        00:00:00 /usr/sbin/sshd
root      3883     1  0 Apr05 ?        00:00:00 xinetd -stayalive
-pidfile /var/run/xinetd.pid
ntp       3902     1  0 Apr05 ?        00:00:01 ntpd -U ntp -p
/var/run/ntpd.pid
root      3918     1  0 Apr05 ?        00:00:00 gpm -t imps2 -m
/dev/mouse
bin       3928     1  0 Apr05 ?        00:00:00 /usr/sbin/cannaserver
-syslog -u bin
root      3939     1  0 Apr05 ?        00:00:00 crond
xfs       3963     1  0 Apr05 ?        00:00:00 xfs -droppriv -daemon
daemon    3972     1  0 Apr05 ?        00:00:00 /usr/sbin/atd
root      3982     1  0 Apr05 ?        00:00:00 rhnsd --interval 240
root      3999     1  0 Apr05 ?        00:00:00 mdmpd
root      4006     1  0 Apr05 tty1     00:00:00 /sbin/mingetty tty1
root      4007     1  0 Apr05 ?        00:00:00 login -- d3m222     
root      4008     1  0 Apr05 tty3     00:00:00 /sbin/mingetty tty3
root      4009     1  0 Apr05 tty4     00:00:00 /sbin/mingetty tty4
root      4010     1  0 Apr05 tty5     00:00:00 /sbin/mingetty tty5
root      4011     1  0 Apr05 tty6     00:00:00 /sbin/mingetty tty6
root      4012     1  0 Apr05 ?        00:00:00 /usr/bin/gdm-binary
-nodaemon
root      4065  4012  0 Apr05 ?        00:00:00 /usr/bin/gdm-binary
-nodaemon
root      4066  4065  0 Apr05 ?        00:00:16 /usr/X11R6/bin/X :0
-auth /var/gdm/:0.Xauth vt7
gdm       4075  4065  0 Apr05 ?        00:00:43 /usr/bin/gdmlogin
d3m222    4076  4007  0 Apr05 tty2     00:00:00 -tcsh
d3m222    4192  4076  0 Apr05 tty2     00:01:22 top
root      6148  3872  0 10:03 ?        00:00:00 sshd: d3m222 [priv]
d3m222    6150  6148  0 10:03 ?        00:00:00 sshd: d3m222 "at" pts/0
d3m222    6151  6150  0 10:03 pts/0    00:00:00 -tcsh
d3m222    6190     1  0 10:04 pts/0    00:00:03 Xvnc :1 -desktop
davinci:1 (d3m222) -httpd /usr/share/vnc/classes -auth
/home/d3m222/.Xauthority -geometry 1252x950 
d3m222    6203     1  0 10:04 ?        00:00:00 xfce-mcs-manager
d3m222    6205     1  0 10:04 pts/0    00:00:00 xfwm4 --daemon
d3m222    6206     1  0 10:04 pts/0    00:00:00 xftaskbar4
d3m222    6207     1  0 10:04 pts/0    00:00:00 xfdesktop
d3m222    6208     1  0 10:04 pts/0    00:00:00 /usr/bin/gnome-panel
d3m222    6211     1  0 10:04 pts/0    00:00:00 /usr/libexec/gconfd-2 11
d3m222    6213     1  0 10:04 ?        00:00:00
/usr/libexec/bonobo-activation-server --ac-activate --ior-output-fd=15
d3m222    6214  3883  0 10:04 ?        00:00:00 fam
d3m222    6216     1  0 10:04 ?        00:00:00
/usr/libexec/gweather-applet-2
--oaf-activate-iid=OAFIID:GNOME_GWeatherApplet_Factory --oaf-ior-fd=13
d3m222    6220     1  0 10:04 ?        00:00:02
/usr/libexec/multiload-applet-2
--oaf-activate-iid=OAFIID:GNOME_MultiLoadApplet_Factory --oaf-ior-fd=15
d3m222    6222     1  0 10:04 ?        00:00:00
/usr/libexec/notification-area-applet
--oaf-activate-iid=OAFIID:GNOME_NotificationAreaApplet_Factory
--oaf-ior-fd=17
d3m222    6289     1  0 10:06 pts/0    00:00:00 xterm -title Terminal
d3m222    6291  6289  0 10:06 pts/1    00:00:00 -csh
d3m222    6430  6291  0 10:21 pts/1    00:00:00 ps -ef