Date: Sat, 19 Aug 2006 20:20:22 GMT From: Kris Kennaway <kris@obsecurity.org> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/101689: [panic] kmem_malloc in UMA Message-ID: <200608192020.k7JKKMRe047630@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/101689; it has been noted by GNATS. From: Kris Kennaway <kris@obsecurity.org> To: Andrej Zverev <az@FreeBSD.org> Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: kern/101689: [panic] kmem_malloc in UMA Date: Sat, 19 Aug 2006 16:17:54 -0400 On Wed, Aug 09, 2006 at 12:39:44PM +0400, Andrej Zverev wrote: > > >Number: 101689 > >Category: kern > >Synopsis: [panic] kmem_malloc in UMA > >Confidential: no > >Severity: serious > >Priority: low > >Responsible: freebsd-bugs > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Wed Aug 09 08:40:13 GMT 2006 > >Closed-Date: > >Last-Modified: > >Originator: Andrej Zverev > >Release: > >Organization: > >Environment: > > > > >Description: > I'm trying to create > 20000 vlan interfaces. > #!/usr/bin/perl > > for ($i=0; $i<20000; $i++) > { > system ("ifconfig vlan$i create"); > system ("ifconfig vlan$i vlan 10 vlandev rl0 10.10.10.10/24"); > } > > and then system out of memory, panic happens, but it's not right. > Trace of panic attached, if i can provide extra detail, just ask Your ran your kernel out of memory. Try to tune VM_KMEM_SIZE_MAX in your kernel, e.g. on my heavily loaded servers I use: options VM_KMEM_SIZE_MAX=419430400 #400MB Kris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608192020.k7JKKMRe047630>