Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 May 2000 10:40:02 -0700 (PDT)
From:      Joe Greco <jgreco@ns.sol.net>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/17868: no more buffers / can't allocate llinfo when running gated
Message-ID:  <200005021740.KAA35947@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/17868; it has been noted by GNATS.

From: Joe Greco <jgreco@ns.sol.net>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005021740.KAA35947>