[CLUE-Tech] memory leak

jason at matchingmoms.com jason at matchingmoms.com
Sat Jan 12 17:23:11 MST 2002


My system is leaking memory.  When my system first boots up and launches all
the services it's leaving 300MB of 384MB available.  My memory usage keeps
climbing until, after a few days, I've only got a few MB left of 384MB
available.  I've examined by processes and don't see anything zombied or
anything that looks out of place.

generic at abigail ~ $ cat /proc/meminfo
        total:    used:    free:  shared: buffers:  cached:
Mem:  393175040 224952320 168222720  1560576 32165888 85716992
Swap: 271392768        0 271392768
MemTotal:       383960 kB
MemFree:        164280 kB
MemShared:        1524 kB
Buffers:         31412 kB
Cached:          83708 kB
Active:         110648 kB
Inact_dirty:      5996 kB
Inact_clean:         0 kB
Inact_target:    98288 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:       383960 kB
LowFree:        164280 kB
SwapTotal:      265032 kB
SwapFree:       265032 kB

generic at abigail ~ $ ps -ef
UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 Jan07 ?        00:00:04 init [3]
root         2     1  0 Jan07 ?        00:00:00 [keventd]
root         3     1  0 Jan07 ?        00:00:00 [kswapd]
root         4     1  0 Jan07 ?        00:00:00 [kreclaimd]
root         5     1  0 Jan07 ?        00:00:00 [bdflush]
root         6     1  0 Jan07 ?        00:00:00 [kupdated]
root         8     1  0 Jan07 ?        00:00:00 [khubd]
root       354     1  0 Jan07 ?        00:00:00 [eth0]
root       419     1  0 Jan07 ?        00:00:00 syslogd -m 0
root       424     1  0 Jan07 ?        00:00:00 klogd -2
rpc        438     1  0 Jan07 ?        00:00:00 portmap
root       573     1  0 Jan07 ?        00:00:00
/usr/sbin/automount --timeout 60 /misc file /etc/auto.misc
daemon     585     1  0 Jan07 ?        00:00:00 /usr/sbin/atd
named      600     1  0 Jan07 ?        00:00:00 named -u named
named      604   600  0 Jan07 ?        00:00:00 named -u named
named      605   604  0 Jan07 ?        00:00:00 named -u named
named      606   604  0 Jan07 ?        00:00:00 named -u named
named      607   604  0 Jan07 ?        00:00:00 named -u named
root       617     1  0 Jan07 ?        00:00:00 /usr/sbin/sshd
root       637     1  0 Jan07 ?        00:00:00
xinetd -stayalive -reuse -pidfile /var/run/xinetd.pid
root       730     1  0 Jan07 ?        00:00:00 sendmail: accepting
connections
root       759     1  0 Jan07 ?        00:00:00 crond
xfs        803     1  0 Jan07 ?        00:00:00 xfs -droppriv -daemon
root       845     1  0 Jan07 tty1     00:00:00 login -- root
root       846     1  0 Jan07 tty2     00:00:00 /sbin/mingetty tty2
root       847     1  0 Jan07 tty3     00:00:00 /sbin/mingetty tty3
root       848     1  0 Jan07 tty4     00:00:00 /sbin/mingetty tty4
root       849     1  0 Jan07 tty5     00:00:00 /sbin/mingetty tty5
root       850     1  0 Jan07 tty6     00:00:00 /sbin/mingetty tty6
root       853   845  0 Jan07 tty1     00:00:00 -bash
postgres  2916     1 49 Jan09 ?        1-21:02:29 /usr/bin/postgres
localhost postgres template1 idle
root      3607   853  0 Jan09 tty1     00:00:00 /bin/sh
/usr/X11R6/bin/startx
root      3612  3607  0 Jan09 tty1     00:00:00 xinit
/etc/X11/xinit/xinitrc -- -auth /root/.Xauthority
root      3613  3612  0 Jan09 ?        00:00:48 /etc/X11/X :0 -auth
/root/.Xauthority
root      3616  3612  0 Jan09 tty1     00:00:00 gnome-session
root      3627     1  0 Jan09 ?        00:00:00
gnome-smproxy --sm-config-prefix /.gnome-smproxy-GVB7xT/ --sm-client-id
11c0a800c800
root      3641     1  0 Jan09 ?        00:00:00 gnome-name-service
root      3648     1  0 Jan09 ?        00:00:02 sawfish --sm-client-id
11c0a800c8000101044782800000008940001
root      3657     1  0 Jan09 ?        00:00:00 panel --sm-config-prefix
/panel.d/default-ugOrC4/ --sm-client-id 11c0a800c8000100510
root      3659     1  0 Jan09 ?        00:00:00 gmc --sm-config-prefix
/gmc-DblnM4/ --sm-client-id 11c0a800c800010104478670000000894
root      3661     1  0 Jan09 ?        00:00:08
gnome-terminal --sm-config-prefix /gnome-terminal-KKReI4/ --sm-client-id
11c0a800c80
root      3665  3661  0 Jan09 ?        00:00:00 gnome-pty-helper
root      3666     1  0 Jan09 ?        00:00:00
tasklist_applet --activate-goad-server tasklist_applet --goad-fd 8
root      3670  3661  0 Jan09 pts/1    00:00:00 bash
root      3673  3661  0 Jan09 pts/2    00:00:00 bash
root      3695  3661  0 Jan09 pts/3    00:00:00 bash
root      3716  3661  0 Jan09 pts/4    00:00:00 bash
root      3751  3661  0 Jan09 pts/5    00:00:00 bash
root      3829     1  0 Jan09 ?        00:00:00 su -l astroconsulting
505       3832  3829  0 Jan09 ?        00:00:00 -bash
root      3925  3716  0 Jan09 pts/4    00:00:00 /usr/bin/wish
/usr/X11R6/bin/tksysv
505       4043  3832  0 Jan09 ?        00:00:00 /bin/sh
/usr/bin/createlang --pglib=/usr/lib/pgsql --dbname=astp plpgsql
505       4058  4043 49 Jan09 ?        1-20:52:44 /usr/bin/psql -A -t -q -d
astp -c SELECT oid FROM pg_proc WHERE proname = 'plpgsql
root      4147  3670  0 Jan09 pts/1    00:00:00 su -l astroconsulting
505       4150  4147  0 Jan09 pts/1    00:00:00 -bash
root      6482     1  0 Jan12 ?        00:00:00
/usr/sbin/httpd -DHAVE_PROXY -DHAVE_ACCESS -DHAVE_ACTIONS -DHAVE_ALIAS -DHAV
E_ASIS -
apache    6485  6482  0 Jan12 ?        00:00:00
/usr/sbin/httpd -DHAVE_PROXY -DHAVE_ACCESS -DHAVE_ACTIONS -DHAVE_ALIAS -DHAV
E_ASIS -
apache    6486  6482  0 Jan12 ?        00:00:00
/usr/sbin/httpd -DHAVE_PROXY -DHAVE_ACCESS -DHAVE_ACTIONS -DHAVE_ALIAS -DHAV
E_ASIS -
apache    6487  6482  0 Jan12 ?        00:00:00
/usr/sbin/httpd -DHAVE_PROXY -DHAVE_ACCESS -DHAVE_ACTIONS -DHAVE_ALIAS -DHAV
E_ASIS -
apache    6488  6482  0 Jan12 ?        00:00:00
/usr/sbin/httpd -DHAVE_PROXY -DHAVE_ACCESS -DHAVE_ACTIONS -DHAVE_ALIAS -DHAV
E_ASIS -
apache    6489  6482  0 Jan12 ?        00:00:00
/usr/sbin/httpd -DHAVE_PROXY -DHAVE_ACCESS -DHAVE_ACTIONS -DHAVE_ALIAS -DHAV
E_ASIS -
apache    6490  6482  0 Jan12 ?        00:00:00
/usr/sbin/httpd -DHAVE_PROXY -DHAVE_ACCESS -DHAVE_ACTIONS -DHAVE_ALIAS -DHAV
E_ASIS -
apache    6491  6482  0 Jan12 ?        00:00:00
/usr/sbin/httpd -DHAVE_PROXY -DHAVE_ACCESS -DHAVE_ACTIONS -DHAVE_ALIAS -DHAV
E_ASIS -
apache    6492  6482  0 Jan12 ?        00:00:00
/usr/sbin/httpd -DHAVE_PROXY -DHAVE_ACCESS -DHAVE_ACTIONS -DHAVE_ALIAS -DHAV
E_ASIS -
root      6870  3673  0 Jan12 pts/2    00:00:00 su -l astroconsulting
505       6873  6870  0 Jan12 pts/2    00:00:00 -bash
postgres  7187     1 19 Jan12 ?        01:02:54 /usr/bin/postgres localhost
astroconsulting astp idle
root      7273  3695  0 Jan12 pts/3    00:00:00 su -l postgres
postgres  7276  7273  0 Jan12 pts/3    00:00:00 -bash
postgres  7414     1  0 Jan12 pts/4    00:00:00 /bin/sh /usr/bin/pg_ctl -D
/var/lib/pgsql/data -p /usr/bin/postmaster start
postgres  7417  7414  0 Jan12 pts/4    00:00:00 /usr/bin/postmaster -i
root      7886   759  0 00:01 ?        00:00:00 CROND
root      7887  7886  0 00:01 ?        00:00:00 /bin/bash /usr/bin/run-parts
/etc/cron.hourly
root      7889     1  0 00:01 ?        00:00:00 /bin/sh /usr/lib/sa/sa1 600
6
root      7890  7887  0 00:01 ?        00:00:00 awk -v
progname=/etc/cron.hourly/sysstat progname {?????   print progname
":\n"?????
root      7892  7889  0 00:01 ?        00:00:00 /usr/lib/sa/sadc 600 6
/var/log/sa/sa13
root      7897   637  0 00:23 ?        00:00:00 in.telnetd:
upstairs.powerpull.net
root      7898  7897  0 00:23 pts/6    00:00:00 login -- generic
generic   7899  7898  0 00:23 pts/6    00:00:00 -bash
generic   7928  7899  0 00:23 pts/6    00:00:00 ps -ef




More information about the clue-tech mailing list