In the last episode (Jul 29), lists said:
> Is it possible to rebuild these without doing a complete make world
> and if so without rebooting ?
Yes:
cd /usr/src/lib/libkvm && make obj && make depend && make && make install
cd /usr/src/usr.bin/netstat && make obj && make depend && make && make ins
Is it possible to rebuild these without doing a complete make world
and if so without rebooting ?
Dan Nelson wrote:
In the last episode (Jul 29), lists said:
Hello,
On 2 of my systems I get the following error while doing netstat -m:
$ netstat -m
netstat: sysctl: retrieving mbstat: Cannot alloca
In the last episode (Jul 29), lists said:
> 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
That means you have rebuilt your kernel and now
/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
what does dmesg, tail /var/log/messages, vmstat, and top tell you
--
Steve Rieger
ICQ # 5956607
yahoo IM riegersteve
- Original Message -
From: "lists" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 29, 2004 1:08 AM
Subject: netstat -m 'cannot allocate memory'
> Hello,