On Fri, Jun 13, 2008 at 5:39 PM, Claudio Jeker <[EMAIL PROTECTED]> wrote: ... > Nope. That is not the problem. The main issues is that a full view will > need a lot of memory for the sysctl. This memory needs to be available as > real memory because it is wired into the kernel. If you run bgpd with full > views on a box with less then 512MB of RAM you're most probably run out of > memory. Theo and I had a look at this and bailing out in this situation is > the right thing to do. The right fix is to just spend 50 bucks on 1-2GB > of additional RAM.
Yuck. For now, how about the following patch? Index: sysctl.3 =================================================================== RCS file: /cvs/src/lib/libc/gen/sysctl.3,v retrieving revision 1.181 diff -u -r1.181 sysctl.3 --- sysctl.3 30 May 2008 19:09:42 -0000 1.181 +++ sysctl.3 14 Jun 2008 03:26:26 -0000 @@ -2176,6 +2176,12 @@ The length pointed to by .Fa oldlenp is too short to hold the requested value. +.It Bq Er ENOMEM +There isn't enough real memory available to pin the buffers specified by +.Fa oldp +and +.Fa newp +in the kernel. .It Bq Er ENOTDIR The .Fa name Philip Guenther