Decreasing free memory on 2.1.x

Steve Hsieh (steveh@eecs.umich.edu)
Sun, 3 May 1998 23:51:36 -0400 (EDT)


Is there any way to find out where the memory on my quad PPro alder is
going? On startup, most of the memory is free, but after running some
large programs or compiling the kernel, it seems that used memory is never
freed. Am I missing something, or is there a problem with the kernel?
I've seen this for a while, the latest on 2.1.99.

root@lili:/n/kanga/z/steveh# cat
total: used: free: shared: buffers: cached:
Mem: 263577600 258392064 5185536 13324288 222552064 6934528
Swap: 798892032 28672 798863360
MemTotal: 257400 kB
MemFree: 5064 kB
MemShared: 13012 kB
Buffers: 217336 kB
Cached: 6772 kB
SwapTotal: 780168 kB
SwapFree: 780140 kB

root@lili:/n/kanga/z/steveh# ps aux
USER PID %CPU %MEM SIZE RSS TTY STAT START TIME COMMAND
daemon 124 0.0 0.1 820 432 ? S 22:25 0:00 /usr/sbin/portmap
daemon 282 0.0 0.1 892 488 ? S 22:25 0:00 /usr/sbin/atd
root 1 0.3 0.1 796 404 ? S 22:20 0:17 init [2]
root 2 0.0 0.0 0 0 ? SW 22:20 0:00 (kflushd)
root 3 0.0 0.0 0 0 ? SW< 22:20 0:01 (kswapd)
root 11 0.0 0.0 752 188 ? S 22:21 0:00 update
root 109 0.0 0.2 920 536 ? S 22:25 0:00 /sbin/syslogd
root 111 0.0 0.2 1028 664 ? S 22:25 0:00 /sbin/klogd
root 120 0.0 0.1 772 392 ? S 22:25 0:00 /sbin/kerneld
root 126 0.0 0.1 888 484 ? S 22:25 0:00 /usr/sbin/inetd
root 129 0.0 0.4 1476 1040 ? S 22:25 0:00 /usr/sbin/named
root 136 0.0 0.1 780 364 ? S 22:25 0:00 /usr/sbin/gpm -m /dev/
root 139 0.0 0.1 928 492 ? S 22:25 0:00 /usr/sbin/lpd
root 246 0.0 0.3 1408 940 ? S 22:25 0:00 sendmail: accepting co
root 250 0.0 0.2 1312 684 ? S 22:25 0:02 /usr/sbin/sshd
root 257 0.0 0.3 1036 980 ? S 22:25 0:00 /usr/sbin/xntpd
root 261 0.0 0.2 1212 720 ? S 22:25 0:00 /usr/sbin/rpc.nfsd
root 263 0.0 0.2 1188 692 ? S 22:25 0:00 /usr/sbin/rpc.mountd
root 272 0.0 0.2 1076 748 ? S 22:25 0:00 /usr/sbin/amd -l sylo
root 275 0.0 0.0 0 0 ? SW 22:25 0:00 (rpciod)
root 276 0.0 0.0 0 0 ? SW 22:25 0:00 (lockd)
root 278 0.0 0.1 1120 380 ? S 22:25 0:00 /usr/sbin/cfsd
root 296 0.0 0.1 888 480 1 S 22:25 0:00 /sbin/getty 38400 tty1
root 297 0.0 0.1 888 480 2 S 22:25 0:00 /sbin/getty 38400 tty2
root 298 0.0 0.1 888 480 3 S 22:25 0:00 /sbin/getty 38400 tty3
root 299 0.0 0.1 888 480 4 S 22:25 0:00 /sbin/getty 38400 tty4
root 300 0.0 0.1 888 480 5 S 22:25 0:00 /sbin/getty 38400 tty5
root 301 0.0 0.1 888 480 6 S 22:25 0:00 /sbin/getty 38400 tty6
root 324 0.2 0.4 1920 1284 ? S 23:38 0:01 in.telnetd
root 357 0.1 0.4 1752 1132 p0 S 23:46 0:00 bash
root 365 0.0 0.2 944 580 p0 R 23:47 0:00 ps aux
steveh 325 0.0 0.5 2064 1292 p0 S 23:38 0:00 -tcsh

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu