From owner-freebsd-bugs Tue May 2 10:40: 6 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id D0F0D37BAE7 for ; Tue, 2 May 2000 10:40:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA35947; Tue, 2 May 2000 10:40:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Tue, 2 May 2000 10:40:02 -0700 (PDT) Message-Id: <200005021740.KAA35947@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Joe Greco Subject: Re: kern/17868: no more buffers / can't allocate llinfo when running gated Reply-To: Joe Greco Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/17868; it has been noted by GNATS. From: Joe Greco To: freebsd-gnats-submit@freebsd.org, simon@lok.net Cc: Subject: Re: kern/17868: no more buffers / can't allocate llinfo when running gated Date: Sun, 7 May 2000 07:45:38 -0500 (CDT) GateD has nothing to do with this, fyi. The kernel has a limit on the amount of kernel VM that can be allocated to tables such as these. You may do a "vmstat -m" to see. Look at: Memory statistics by type Type Kern Type InUse MemUse HighUse Limit Requests Limit Limit Size(s) routetbl161703 22113K 22127K 40960K 240489 0 0 16,32,64,128,256 Memory Totals: In Use Free Requests 23618K 23K 255740 You will probably find your "Limit" field to be 20K. It's not real obvious, but this limit is derived from hald of VM_KMEM_SIZE. I compiled a kernel with options "VM_KMEM_SIZE=83886080" and fixed it. Alternatively, one could specify this in boot/loader.rc, as I think someone stuck in a way to alter it in that manner. > (75K routes nowadays) # netstat -rn|wc 78347 471979 5489863 Some internal routes probably present, but > 75K routes. > Run gated. Wait 20 minutes. What speed connection do you have, anyways? I wait maybe 20 seconds. :-) > I looked on newsgroups, and there were some other people reporting > this problem, but no solutions. If this fixes the issue for you, please take the time to help them as I've taken the time to help you. Much appreciated. -- ... Joe ------------------------------------------------------------------------------- Joe Greco - Systems Administrator jgreco@ns.sol.net Solaria Public Access UNIX - Milwaukee, WI 414/342-4847 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message