netstat: memstat_sysctl_all: Too many CPUs

Ihsan Junaidi Ibrahim ihsan.junaidi at gmail.com
Wed Mar 21 05:57:59 UTC 2012


Sergey,

It was upgraded from 8.2-RELEASE via freebsd-update so I'd assume the kernel and world are in sync.

Since I'm already on 9.0, is there a way to fix this without going through the whole buildworld thing?

This box is on a GENERIC kernel.

ihsan

On Mar 21, 2012, at 2:39 AM, Sergey Kandaurov wrote:

> On 20 March 2012 21:16, Ihsan Junaidi Ibrahim <ihsan.junaidi at gmail.com> wrote:
>> Hi folks,
>> 
>> While trying to poke around my mbuf stats, I ran across the following error message.
>> 
>> ihsan at sv01:~ $ netstat -m
>> netstat: memstat_sysctl_all: Too many CPUs
>> 
>> It's an E3-1230 CPU on a Supermicro X9SCM-F with 4G RAM.
>> 
>> I'm on 9.0-RELEASE.
>> 
>> Has anybody encountered this before?
>> 
> 
> Well, that means that you are likely running libmemstat(3) library from
> RELENG_8. This error message (and a reason for it) was removed in 9.0.
> In 8.x and earlier this error was possible when kernel is compiled
> with MAXCPU kernel option value greater than 32.
> If you upgraded to 9.0 from an earlier release than please
> make sure you have kernel and world in sync.
> 
> -- 
> wbr,
> pluknet



More information about the freebsd-net mailing list