netstat: sysctl: net.inet.tcp.stats: Cannot allocate memory
list Lee J. Imber
While debugging some custom scripts, I found that 3 of my boxes have large hobbitclient.log files. They contain the same messages: netstat: sysctl: net.inet.tcp.stats: Cannot allocate memory netstat: sysctl: net.inet.tcp.stats: Cannot allocate memory netstat: sysctl: net.inet.tcp.stats: Cannot allocate memory netstat: sysctl: net.inet.tcp.stats: Cannot allocate memory netstat: sysctl: net.inet.tcp.stats: Cannot allocate memory netstat: sysctl: net.inet.tcp.stats: Cannot allocate memory netstat: sysctl: net.inet.tcp.stats: Cannot allocate memory netstat: sysctl: net.inet.tcp.stats: Cannot allocate memory netstat: sysctl: net.inet.tcp.stats: Cannot allocate memory netstat: sysctl: net.inet.tcp.stats: Cannot allocate memory netstat: sysctl: net.inet.tcp.stats: Cannot allocate memory netstat: sysctl: net.inet.tcp.stats: Cannot allocate memory netstat: sysctl: net.inet.tcp.stats: Cannot allocate memory netstat: sysctl: net.inet.tcp.stats: Cannot allocate memory netstat: sysctl: net.inet.tcp.stats: Cannot allocate memory All three boxen are FreeBSD 5.4-STABLE. All three are 4.1.2p1. Do I need to enable this in sysctl.conf? Thanks, Lee
list Henrik Størner
▸
On Fri, Apr 21, 2006 at 10:58:05PM -0400, Lee J. Imber wrote:
While debugging some custom scripts, I found that 3 of my boxes have large hobbitclient.log files. They contain the same messages: netstat: sysctl: net.inet.tcp.stats: Cannot allocate memory netstat: sysctl: net.inet.tcp.stats: Cannot allocate memory All three boxen are FreeBSD 5.4-STABLE. All three are 4.1.2p1. Do I need to enable this in sysctl.conf?
No idea, this seems to be an error message from the FreeBSD "netstat" command. The Hobbit client runs these: netstat -rn netstat -s (netstat -na -f inet; netstat -na -f inet6) | grep "^tcp" (the last one only if you're running one of the snapshots). Regards, Henrik