From owner-freebsd-net@FreeBSD.ORG Wed Mar 21 05:57:59 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1EC61106564A for ; Wed, 21 Mar 2012 05:57:59 +0000 (UTC) (envelope-from ihsan.junaidi@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id E22638FC08 for ; Wed, 21 Mar 2012 05:57:58 +0000 (UTC) Received: by dald2 with SMTP id d2so1253508dal.13 for ; Tue, 20 Mar 2012 22:57:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=AtYfdPBTHjaN3769oH1lg1pwIcTsRW01DHenV61Km1M=; b=Y1UF5G/IluXjb0/ryYIIjEr6HMqlguUjS9nmJusJkLiy64mA5PjPGtiE2p4vP0MWf9 +pUXYWaJEbycfqMB1awQe9YFMaz+4dUofrt4nx+Us17WCUtjrohxqeHSSRgMfA7fEvgu tjw3RMHvnh0zFXNPOkDzWMTWyBQ3YEED6fe+xlc0/B9L4Zxumx9T7rXdZBo9I4gSGU0i 4nqBoQkN6ZLJlfiDgmVPGpkH/3761EWnWsKAt/LtRjcHLcHBYqtjH6/lGjoqEuCseYEF jCy+Ej7mPjnFod2oWXIi2lRUyOZyltBqUQvBKbK1miZ9f2pqBaqFtCFPX0bC1NavUi93 VBjQ== Received: by 10.68.228.67 with SMTP id sg3mr8066097pbc.17.1332309478279; Tue, 20 Mar 2012 22:57:58 -0700 (PDT) Received: from [10.0.20.68] ([211.24.220.233]) by mx.google.com with ESMTPS id p9sm626122pbb.9.2012.03.20.22.57.55 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 20 Mar 2012 22:57:57 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset=iso-8859-1 From: Ihsan Junaidi Ibrahim In-Reply-To: Date: Wed, 21 Mar 2012 13:57:53 +0800 Content-Transfer-Encoding: quoted-printable Message-Id: References: <4DCC5341-CE31-4D2A-9569-D27242DABB2F@gmail.com> To: Sergey Kandaurov X-Mailer: Apple Mail (2.1257) Cc: freebsd-net@freebsd.org Subject: Re: netstat: memstat_sysctl_all: Too many CPUs X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Mar 2012 05:57:59 -0000 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 = wrote: >> Hi folks, >>=20 >> While trying to poke around my mbuf stats, I ran across the following = error message. >>=20 >> ihsan@sv01:~ $ netstat -m >> netstat: memstat_sysctl_all: Too many CPUs >>=20 >> It's an E3-1230 CPU on a Supermicro X9SCM-F with 4G RAM. >>=20 >> I'm on 9.0-RELEASE. >>=20 >> Has anybody encountered this before? >>=20 >=20 > 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. >=20 > --=20 > wbr, > pluknet