Date: Fri, 21 Feb 2014 01:08:50 -0800 (PST) From: Don Lewis <truckman@FreeBSD.org> To: ianf@clue.co.za Cc: current@FreeBSD.org Subject: Re: netstat: sysctl: net.route.0.0.dump.0: Cannot allocate memory Message-ID: <201402210908.s1L98ogE055966@gw.catspoiler.org> In-Reply-To: <E1WGltZ-0000kf-1A@clue.co.za>
next in thread | previous in thread | raw e-mail | index | archive | help
On 21 Feb, Ian FREISLICH wrote: > Hiroki Sato wrote: >> ia> While recieving my routing table I used to be able to check how far >> ia> it got by counting the output netstat -rn. It takes about 2 seconds >> ia> to recieve the routes from my route-server, but over a minute to >> ia> update the kernel routing table. >> ia> >> ia> I'm now getting this error until zebra completes route insertion. >> ia> >> ia> [firewall1.jnb1] ~ $ netstat -rn |wc -l >> ia> netstat: sysctl: net.route.0.0.dump.0: Cannot allocate memory >> ia> 1 >> ia> [firewall1.jnb1] ~ $ netstat -rn |wc -l >> ia> 480446 >> >> Perhaps does the attached patch fix this? > > Sadly, not. Maybe you are running into the wired page limit. Try bumping up the value of the sysctl vm.max_wired knob.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402210908.s1L98ogE055966>