Date: Mon, 12 Jan 1998 17:00:19 -0800 (PST) From: Simon Shapiro <shimon@simon-shapiro.org> To: David Greenman <dg@root.com> Cc: freebsd-current@FreeBSD.ORG Subject: Re: Panic: kmem_malloc: kmem_map too small Message-ID: <XFMail.980112170019.shimon@simon-shapiro.org> In-Reply-To: <199801072203.OAA16705@implode.root.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format
--_=XFMail.1.3.p0.FreeBSD:980112170019:16207=_
Content-Type: text/plain; charset=us-ascii
[ This one refuses to go away... ]
On 07-Jan-98 David Greenman wrote:
>>I receive that mainly under SMP, but looking at vm/vm_kern.c I do not see
>
> Sounds like you need to increase the kmem_map size - you're running
> out
> of malloc space. This can be done by changing VM_KMEM_SIZE in
> /sys/i386/include/vmparam.h. The problem might indicate that you have a
> very large system, a mistuned system, or perhaps could even indicate a
> kernel memory leak. I suggest that you carefully analyze the output of
> "vmstat -m" to determine where it's all going.
I bumped the value from 32MB to 64MB and am still getting this panic.
I am attaching the output of vmstat -m. I am looking at it but it does not
tell me much. I observed it over a period of time, but nothing seems to
systematically grow without shrinking.
Thanx for any help...
----------
Sincerely Yours,
Simon Shapiro
Shimon@Simon-Shapiro.ORG Voice: 503.799.2313
--_=XFMail.1.3.p0.FreeBSD:980112170019:16207=_
Content-Disposition: attachment; filename="vmstat-m.out"
Content-Transfer-Encoding: none
Content-Description: Without any NFS activity
Content-Type: application/octet-stream; name=vmstat-m.out; SizeOnDisk=5200
Memory statistics by bucket size
Size In Use Free Requests HighWater Couldfree
16 91 165 1779 1280 0
32 55147 21 158349 640 0
64 89484 52 3995076 320 0
128 1084 68 20624 160 0
256 180561 15 527406 80 0
512 281 383 3022 40 167
1K 117 303 11242 20 2140
2K 328 18 1036 10 157
4K 17 1 90 5 0
8K 6 0 6 5 0
16K 15 0 15 5 0
32K 3 0 3 5 0
64K 3 0 3 5 0
128K 9 0 9 5 0
512K 4 0 4 5 0
Memory usage type by bucket size
Size Type(s)
16 sysctl, mrt, soname, ether_multi, routetbl, pcb, IpFw/IpAcct, vnodes,
proc, devbuf, temp
32 sysctl, soname, in_multi, ether_multi, pgrp, subproc, routetbl, pcb,
vnodes, ifaddr, devbuf, temp, kld
64 NFS req, lockf, file, session, routetbl, pcb, namecache, ifaddr,
devbuf, temp
128 ip_moptions, zombie, file desc, routetbl, pcb, IpFw/IpAcct,
namecache, ZONE, cred, ttys, ifaddr, devbuf, temp
256 socket, VM map, file desc, subproc, FFS node, routetbl, pcb,
NFS daemon, NFS srvsock, NFS node, vnodes, proc, devbuf, temp
512 NFSV3 diroff, NFS mount, ioctlops, file desc, UFS mount, BIO buffer,
mount, pcb, proc, devbuf, temp
1K file desc, BIO buffer, NQNFS Lease, proc, devbuf, temp
2K file desc, UFS mount, BIO buffer, ttys, devbuf, mbuf
4K UFS mount, devbuf, temp
8K UFS mount, devbuf
16K UFS mount, devbuf
32K MSDOSFS mount, devbuf
64K NFS node, ISOFS mount, UFS ihash
128K namecache, devbuf
512K devbuf
Memory statistics by type Type Kern
Type InUse MemUse HighUse Limit Requests Limit Limit Size(s)
NFSV3 diroff 71 36K 36K 39322K 82 0 0 512
NFS req 0 0K 1K 39322K 3232940 0 0 64
NFS mount 27 14K 14K 39322K 27 0 0 512
sysctl 0 0K 1K 39322K 3 0 0 16,32
lockf 3 1K 1K 39322K 173 0 0 64
mrt 2 1K 1K 39322K 2 0 0 16
ip_moptions 2 1K 1K 39322K 3 0 0 128
soname 29 1K 1K 39322K 1650 0 0 16,32
in_multi 5 1K 1K 39322K 5 0 0 32
ether_multi 16 1K 1K 39322K 16 0 0 16,32
socket 79 20K 21K 39322K 472 0 0 256
ioctlops 0 0K 1K 39322K 30 0 0 512
zombie 0 0K 1K 39322K 1362 0 0 128
file 129 9K 9K 39322K 305879 0 0 64
session 26 2K 2K 39322K 211 0 0 64
pgrp 29 1K 2K 39322K 383 0 0 32
VM map 51 13K 15K 39322K 1413 0 0 256
file desc 60 23K 28K 39322K 1788 0 0 128,256,512,1K,2K
subproc 66 6K 8K 39322K 2790 0 0 32,256
FFS node 35103 8776K 8790K 39322K 278619 0 0 256
UFS mount 90 157K 157K 39322K 90 0 0 512,2K,4K,8K,16K
BIO buffer 115 117K 419K 39322K 12527 0 0 512,1K,2K
mount 58 29K 29K 39322K 58 0 0 512
routetbl 32 4K 5K 39322K 99 0 0 16,32,64,128,256
pcb 101 14K 16K 39322K 543 0 0 16,32,64,128,256,
512
IpFw/IpAcct 8 1K 1K 39322K 8 0 0 16,128
NQNFS Lease 1 1K 1K 39322K 1 0 0 1K
NFS daemon 1 1K 1K 39322K 1 0 0 256
NFS srvsock 2 1K 1K 39322K 2 0 0 256
NFS node 54943 13800K 13802K 39322K 155058 0 0 256,64K
MSDOSFS mount 1 32K 32K 39322K 1 0 0 32K
ISOFS mount 1 64K 64K 39322K 1 0 0 64K
UFS ihash 1 64K 64K 39322K 1 0 0 64K
vnodes145070 24237K 24237K 39322K 246196 0 0 16,32,256
namecache 89403 5724K 5724K 39322K 456759 0 0 64,128,128K
ZONE 7 1K 1K 39322K 7 0 0 128
cred 16 2K 3K 39322K 14471 0 0 128
proc 59 28K 32K 39322K 1478 0 0 16,256,512,1K
ttys 638 86K 86K 39322K 1730 0 0 128,2K
ifaddr 26 3K 3K 39322K 27 0 0 32,64,128
devbuf 677 4683K 4683K 39322K 820 0 0 16,32,64,128,256,
512,1K,2K,4K,8K,16K,32K,128K,512K
mbuf 1 2K 2K 39322K 1 0 0 2K
temp 200 29K 33K 39322K 936 0 0 16,32,64,128,256,
512,1K,4K
kld 1 1K 1K 39322K 1 0 0 32
Memory Totals: In Use Free Requests
57971K 554K 4718664
--_=XFMail.1.3.p0.FreeBSD:980112170019:16207=_--
End of MIME message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.980112170019.shimon>
