Date: Fri, 9 May 1997 08:50:09 -0700 From: "Patrick Burm" <patb@commlitho.com> To: <questions@freebsd.org> Subject: Leaks - how to find Message-ID: <199705091550.IAA10867@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
Can anyone give me information on how to read this output from vmstat -m. I saw a post about trying to find leaks using this command. I have set up a new FreeBSD box version 2.2.1-release. I'm new to the Unix world. After a couple days my free memory seems to dissappear. I'm starting an ISP and I'm testing the box before I go live. I guess I'm just asking what to look for as a sign to find my culprit. This output is after 9 hours of up time: Memory statistics by bucket size Size In Use Free Requests HighWater Couldfree 16 34 734 573 1280 0 32 127 129 1472 640 0 64 2422 74 14900 320 0 128 2713 39 21273 160 0 256 1999 65 45375 80 0 512 46 42 977 40 84 1K 158 30 81353 20 110 2K 7 17 39 10 7 4K 7 0 8 5 0 8K 1 0 1 5 0 16K 3 0 3 5 0 Memory usage type by bucket size Size Type(s) 16 devbuf, pcb, routetbl, vnodes, proc, temp 32 devbuf, pcb, routetbl, pgrp, session, proc, subproc, ether_multi, temp 64 routetbl, ifaddr, namecache, VM mapent, file, lockf, in_multi, temp 128 devbuf, pcb, routetbl, zombie, ifaddr, cred, vnodes, VM map, VM object, file desc, proc, ttys, isa_devlist 256 devbuf, socket, pcb, routetbl, vnodes, VM map, file desc, subproc, FFS node, NFS srvsock, NFS daemon, temp, select 512 devbuf, pcb, ioctlops, mount, UFS mount, file desc, proc, temp, BIO buffer 1K mbuf, devbuf, namei, UFS mount, NQNFS Lease, temp, BIO buffer 2K devbuf, UFS mount, MSDOSFS mount, ttys, BIO buffer 4K devbuf, NFS node, UFS quota, UFS mount, temp 8K namecache 16K devbuf Memory statistics by type Type Kern Type InUse MemUse HighUse Limit Requests Limit Limit Size(s) mbuf 1 1K 1K 18315K 1 0 0 1K devbuf 23 70K 70K 18315K 55 0 0 16,32,128,256,512,1K,2K,4K,16K socket 24 6K 8K 18315K 288 0 0 256 pcb 35 7K 9K 18315K 164 0 0 16,32,128,256,512 routetbl 40 6K 8K 18315K 94 0 0 16,32,64,128,256 zombie 0 0K 1K 18315K 763 0 0 128 ifaddr 8 1K 1K 18315K 8 0 0 64,128 namei 0 0K 4K 18315K 79240 0 0 1K ioctlops 0 0K 1K 18315K 3 0 0 512 cred 19 3K 3K 18315K 397 0 0 128 pgrp 17 1K 1K 18315K 256 0 0 32 session 15 1K 1K 18315K 176 0 0 32 mount 4 2K 2K 18315K 4 0 0 512 NFS node 1 4K 4K 18315K 1 0 0 4K vnodes 1953 244K 252K 18315K 2484 0 0 16,128,256 namecache 1922 129K 129K 18315K 1922 0 0 64,8K UFS quota 1 4K 4K 18315K 1 0 0 4K UFS mount 10 15K 15K 18315K 10 0 0 512,1K,2K,4K VM map 36 8K 10K 18315K 799 0 0 128,256 VM mapent 443 28K 28K 18315K 443 0 0 64 VM object 459 58K 61K 18315K 16879 0 0 128 file 49 4K 5K 18315K 12290 0 0 64 file desc 32 6K 7K 18315K 901 0 0 128,256,512 lockf 1 1K 1K 18315K 237 0 0 64 proc 36 15K 18K 18315K 806 0 0 16,32,128,512 subproc 32 2K 3K 18315K 1558 0 0 32,256 FFS node 1867 467K 480K 18315K 42729 0 0 256 NQNFS Lease 1 1K 1K 18315K 1 0 0 1K NFS srvsock 2 1K 1K 18315K 2 0 0 256 NFS daemon 1 1K 1K 18315K 1 0 0 256 in_multi 2 1K 1K 18315K 2 0 0 64 ether_multi 1 1K 1K 18315K 1 0 0 32 MSDOSFS mount 1 2K 2K 18315K 1 0 0 2K temp 65 7K 11K 18315K 873 0 0 16,32,64,256,512,1K,4K ttys 246 33K 33K 18315K 363 0 0 128,2K isa_devlist 1 1K 1K 18315K 1 0 0 128 BIO buffer 152 153K 177K 18315K 2169 0 0 512,1K,2K select 17 5K 5K 18315K 51 0 0 256 Memory Totals: In Use Free Requests 1274K 127K 165974 ---------- Patrick Burm Commercial Lithographers Mesa, AZ 602.844.2294 patb@commlitho.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705091550.IAA10867>