Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jul 2004 10:40:13 +0200
From:      lists <lists@sleektech.nl>
To:        questions@freebsd.org
Subject:   Re: netstat -m 'cannot allocate memory'
Message-ID:  <4108B7ED.90007@sleektech.nl>
In-Reply-To: <014801c4755f$cefd5bb0$47bf82d8@webairsteve>
References:  <4108B086.8060706@sleektech.nl> <014801c4755f$cefd5bb0$47bf82d8@webairsteve>

next in thread | previous in thread | raw e-mail | index | archive | help
/var/log/messages gives:
Jul 29 01:55:56 server /kernel: All mbuf clusters exhausted, please see 
tuning(7).

So I have set in /boot/loader.conf
kern.ipc.nmbclusters="32768"

And rebooted the machine but stilll got the same message with netstat -m

dmesg is not giving any weird messages

top:
last pid:  5178;  load averages:  0.22,  0.12,  0.09                     
up 0+00:34:27  10:35:01
100 processes: 4 running, 96 sleeping
CPU states: 11.3% user,  0.0% nice,  2.7% system,  0.0% interrupt, 86.0% 
idle
Mem: 131M Active, 444M Inact, 180M Wired, 23M Cache, 163M Buf, 729M Free
Swap: 3072M Total, 3072M Free

# vmstat
 procs      memory      page                    disks     faults      cpu
 r b w     avm    fre  flt  re  pi  po  fr  sr ad0 ad2   in   sy  cs us 
sy id
 2 6 0  238980 767852  439   1   1   0 356   0   0   0  359 3718 168  4  
3 93

Steve wrote:

>what does dmesg, tail /var/log/messages, vmstat, and top tell you
>--
>Steve Rieger
>ICQ # 5956607
>yahoo IM riegersteve
>----- Original Message ----- 
>From: "lists" <lists@sleektech.nl>
>To: <questions@freebsd.org>
>Sent: Thursday, July 29, 2004 1:08 AM
>Subject: netstat -m 'cannot allocate memory'
>
>
>  
>
>>Hello,
>>
>>On 2 of my systems I get the following error while doing netstat -m:
>>
>>$ netstat -m
>>netstat: sysctl: retrieving mbstat: Cannot allocate memory
>>
>>This is a PIV 2ghz, with 1,5 GB of memory
>>
>>
>>I couldn't find anything about this on the internet.. anyone that has
>>any idea whats wrong here ?
>>
>>Thanks
>>
>>_______________________________________________
>>freebsd-questions@freebsd.org mailing list
>>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>To unsubscribe, send any mail to
>>    
>>
>"freebsd-questions-unsubscribe@freebsd.org"
>  
>
>
>  
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4108B7ED.90007>