| Summary: | no more buffers / can't allocate llinfo when running gated | ||
|---|---|---|---|
| Product: | Base System | Reporter: | simon <simon> |
| Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Unspecified | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
simon
2000-04-08 22:40:01 UTC
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
State Changed From-To: open->closed resolved I pressume. |