netstat: sysctl: net.route.0.0.dump.0: Cannot allocate memory
Hiroki Sato
hrs at FreeBSD.org
Fri Feb 21 08:23:04 UTC 2014
"Ian FREISLICH" <ianf at clue.co.za> wrote
in <E1WGkzK-0000gb-E2 at clue.co.za>:
ia> Hi
ia>
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?
-- Hiroki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: netstat.diff
Type: text/x-patch
Size: 485 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20140221/69108917/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20140221/69108917/attachment.sig>
More information about the freebsd-current
mailing list