Re: netstat: sysctl: net.route.0.0.dump.0: Cannot allocate memory

2014-02-28 Thread Ian FREISLICH
Hiroki Sato wrote: ia Hiroki Sato wrote: ia Hm, how about the attached one? ia ia I think the cause is just a race when length of the sysctl's output ia is changed in kernel after the buffer allocation in userspace, not ia memory shortage. Size of the routing table can quickly

Re: netstat: sysctl: net.route.0.0.dump.0: Cannot allocate memory

2014-02-23 Thread Hiroki Sato
Ian FREISLICH i...@clue.co.za wrote in e1wgmte-nr...@clue.co.za: ia Hiroki Sato wrote: ia Hm, how about the attached one? ia ia I think the cause is just a race when length of the sysctl's output ia is changed in kernel after the buffer allocation in userspace, not ia memory

netstat: sysctl: net.route.0.0.dump.0: Cannot allocate memory

2014-02-21 Thread Ian FREISLICH
insertion. [firewall1.jnb1] ~ $ netstat -rn |wc -l netstat: sysctl: net.route.0.0.dump.0: Cannot allocate memory 1 [firewall1.jnb1] ~ $ netstat -rn |wc -l 480446 Is there a sysctl that controls this? There's lots of free memory (14GB). I've tuned other limits to stop dummynet crashing

Re: netstat: sysctl: net.route.0.0.dump.0: Cannot allocate memory

2014-02-21 Thread Hiroki Sato
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 ia1 ia [firewall1.jnb1] ~ $ netstat -rn |wc -l ia 480446 Perhaps does

Re: netstat: sysctl: net.route.0.0.dump.0: Cannot allocate memory

2014-02-21 Thread Ian FREISLICH
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 ia1 ia [firewall1.jnb1] ~ $ netstat -rn |wc -l ia 480446 Perhaps does the attached patch fix this? Sadly, not. Ian

Re: netstat: sysctl: net.route.0.0.dump.0: Cannot allocate memory

2014-02-21 Thread Don Lewis
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 ia1 ia [firewall1.jnb1] ~ $ netstat -rn |wc -l ia 480446 Perhaps does the attached patch

Re: netstat: sysctl: net.route.0.0.dump.0: Cannot allocate memory

2014-02-21 Thread Hiroki Sato
, but over a minute to ia ia update the kernel routing table. ia ia ia ia I'm now getting this error until zebra completes route insertion. ia ia ia ia [firewall1.jnb1] ~ $ netstat -rn |wc -l ia ia netstat: sysctl: net.route.0.0.dump.0: Cannot allocate memory ia ia1 ia ia [firewall1.jnb1

Re: netstat: sysctl: net.route.0.0.dump.0: Cannot allocate memory

2014-02-21 Thread Ian FREISLICH
: Routing table grew, retrying netstat: sysctl: net.route.0.0.dump.0: Cannot allocate memory 1 [firewall1.jnb1] ~ # netstat -rn |wc -l netstat: Routing table grew, retrying netstat: Routing table grew, retrying netstat: Routing table grew, retrying 314032 [firewall1.jnb1] ~ # netstat -rn |wc