Xymon Mailing List Archive search

netstat: sysctl: net.inet.tcp.stats: Cannot allocate memory

2 messages in this thread

list Lee J. Imber · Fri, 21 Apr 2006 22:58:05 -0400 ·
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 · Sat, 22 Apr 2006 08:03:14 +0200 ·
quoted from Lee J. Imber
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