[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-bugs
Subject: Memory usage
From: Joe Davida <jd () slip129-37-223-82 ! ca ! us ! ibm ! net>
Date: 1997-10-14 21:42:38
[Download RAW message or body]
I am wondering where is all my free memory going. Config file
attached at bottom.
I have 128 megabytes. Here is what vmstat says:
procs memory page disks faults cpu
r b w avm fre flt re pi po fr sr s0 c0 w0 in sy cs us sy id
1 0 0 3705952 82668 28 0 0 0 29 0 3 0 2 172 961 67 12 2 87
0 0 0 3705952 82664 12 0 0 0 14 0 0 0 3 144 43 7 1 0 99
0 0 0 3705464 82664 1 0 0 0 0 0 0 0 0 101 34 7 1 0 99
0 0 0 3705336 82664 27 0 0 0 33 0 0 0 1 116 62 11 1 0 99
0 0 0 3705336 82664 11 0 0 0 14 0 0 0 1 117 43 8 1 0 99
and here are the procs in the system:
UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TT TIME COMMAND
0 0 0 0 -18 0 0 0 sched DLs ?? 0:00.02 (swapper)
0 1 0 0 10 0 476 228 wait Is ?? 0:00.02 /sbin/init -
0 2 0 0 -18 0 0 0 psleep DL ?? 0:00.00 (pagedaemon
0 3 0 0 28 0 0 0 psleep DL ?? 0:00.00 (vmdaemon)
0 4 0 0 28 0 0 0 update DL ?? 0:00.42 (update)
0 33 1 0 18 0 204 72 pause Is ?? 0:00.00 adjkerntz -i
0 125 1 0 2 0 200 500 select Is ?? 0:00.18 syslogd
0 154 1 0 2 0 192 452 select Is ?? 0:00.11 inetd
0 156 1 0 18 0 332 416 pause Ss ?? 0:00.09 cron
0 159 1 0 2 0 204 476 select Is ?? 0:00.02 lpd
0 186 1 0 2 0 528 692 accept Is ?? 0:00.02 sendmail: \
accepting connections on port 25 (sendmail) 0 271 1 0 2 0 276 888 \
select I ?? 0:00.09 /usr/X11R6/bin/xdm -nodaemon ttyv3 0 276 271 0 2 \
0 4844 8008 select Ss ?? 2:09.20 /usr/X11R6/bin/X -bpp 16 -auth \
/usr/X11R6/lib/X11/xdm 0 277 271 1 10 0 324 1428 wait Is ?? \
0:00.07 -:0 108 294 277 14 10 0 312 464 wait Is ?? \
0:00.07 /usr/bin/ksh /home/jd/.xsession 108 298 294 0 2 0 760 1556 select \
I ?? 0:01.29 /usr/X11R6/bin/tvtwm 0 312 294 0 2 0 2108 1932 select \
S ?? 0:03.50 xterm 108 313 294 0 2 0 208 1348 select S ?? \
0:01.54 xclock 108 314 294 0 2 0 212 1432 select S ?? 0:01.67 \
xbiff 108 321 1 0 2 0 220 1428 select I ?? 0:00.04 xconsole
0 355 1 0 2 0 2116 1836 select I ?? 0:03.53 xterm -e rlogin \
alumni -l jd 0 3710 103 0 18 0 172 40 pause S ?? 0:00.00 sleep 10
0 3712 26 0 18 0 172 40 pause S ?? 0:00.00 sleep 5
108 322 312 0 10 0 380 608 wait Is p1 0:00.37 -ksh (ksh)
108 3649 322 0 18 0 372 584 pause S+ p1 0:00.03 Mail \
bugs@freebsd.org 108 3708 3649 1 -6 0 604 1184 piperd S+ p1 0:00.08 vi \
/tmp/Re00 108 3713 3708 1 28 0 652 288 - R+ p1 0:00.00 ps -axl
108 3714 3708 0 28 0 588 1184 - R+ p1 0:00.00 vi /tmp/Re00
108 356 355 0 3 0 176 472 ttyin Is+ p2 0:00.39 rlogin alumn
108 372 356 0 2 0 176 472 sbwait I+ p2 0:00.25 rlogin alumn
0 268 1 0 3 0 468 316 ttyin Is+ v0 0:00.17 -csh (csh)
0 269 1 0 3 0 180 448 ttyin Is+ v1 0:00.02 /usr/libexec/getty \
Pc ttyv1 0 270 1 0 3 0 180 448 ttyin Is+ v2 0:00.02 \
/usr/libexec/getty Pc ttyv2 0 26 1 0 10 0 484 316 wait S con- \
0:02.81 /bin/sh /sbi 0 103 1 0 10 0 492 320 wait S con- 0:01.47 \
/bin/sh /sbi 0 80 1 0 18 0 212 488 pause Ss+ a0 0:00.02 \
/usr/local/sbin/dip -v -d -f ibm -m 1500 -p CSLIP -s
# Configuration for my machine
machine "i386"
cpu "I386_CPU"
cpu "I486_CPU"
cpu "I586_CPU"
cpu "I686_CPU"
ident SARGON
maxusers 30
options MATH_EMULATE #Support for x87 emulation
options INET #InterNETworking
options FFS #Berkeley Fast Filesystem
options NFS #Network Filesystem
options MSDOSFS #MSDOS Filesystem
options "CD9660" #ISO 9660 Filesystem
options PROCFS #Process filesystem
options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!]
options SCSI_DELAY=15 #Be pessimistic about Joe SCSI device
options BOUNCE_BUFFERS #include support for DMA bounce buffers
options UCONSOLE #Allow users to grab the console
options FAILSAFE #Be conservative
options USERCONFIG #boot -c editor
options VISUAL_USERCONFIG #visual boot -c editor
options MROUTING # Multicast routing
options TCPDEBUG
options DDB
options "MD5"
options SYSVSHM
options SYSVSEM
options SYSVMSG
options SEMMAP=31
options SEMMNI=11
options SEMMNS=61
options SEMMNU=31
options SEMMSL=61
options SEMOPM=101
options SEMUME=11
options SHOW_BUSYBUFS # List buffers that prevent root unmount
options SHMALL=1025
options "SHMMAX=(SHMMAXPGS*PAGE_SIZE+1)"
options SHMMAXPGS=1025
options SHMMIN=2
options SHMMNI=33
options SHMSEG=9
options USER_LDT #allow user-level control of i386 ldt
options COMPAT_LINUX
options "MAXMEM=(128*1024)"
config kernel root on wd0a
controller isa0
controller eisa0
controller pci0
controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk fd0 at fdc0 drive 0
disk fd1 at fdc0 drive 1
tape ft0 at fdc0 drive 2
options "CMD640" # work around CMD640 chip deficiency
controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
disk wd0 at wdc0 drive 0
options ATAPI #Enable ATAPI support for IDE bus
options ATAPI_STATIC #Don't do it as an LKM
device wcd0 #IDE CD-ROM
# A single entry for any of these controllers (ncr, ahb, ahc, amd) is
# sufficient for any number of installed devices.
controller ahc0
options AHC_ALLOW_MEMIO
options AHC_SCBPAGING_ENABLE
options AHC_TAGENABLE
controller scbus0
device sd0
device od0 #See LINT for possible `od' options.
device st0
device cd0 #Only need one of these, the code dynamically grows
# syscons is the default console driver, resembling an SCO console
device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr
options XSERVER # include code for XFree86
options FAT_CURSOR # start with block cursor
device npx0 at isa? port "IO_NPX" irq 13 vector npxintr
device apm0 at isa? flags 0x31 # Advanced Power Management
device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr
device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr
device lpt0 at isa? port? tty irq 7 vector lptintr
device psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr
pseudo-device loop
pseudo-device ether
pseudo-device log
pseudo-device sl 2
# ijppp uses tun instead of ppp device
pseudo-device ppp 2
pseudo-device tun 2
pseudo-device pty 32
pseudo-device gzip # Exec gzipped a.out's
pseudo-device fddi #Generic FDDI
pseudo-device sppp #Generic Synchronous PPP
pseudo-device bpfilter 4 #Berkeley packet filter
pseudo-device disc #Discard device
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic