From owner-freebsd-current@FreeBSD.ORG Tue Mar 13 21:23:02 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A7F8016A402 for ; Tue, 13 Mar 2007 21:23:02 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outC.internet-mail-service.net (outC.internet-mail-service.net [216.240.47.226]) by mx1.freebsd.org (Postfix) with ESMTP id 8756613C468 for ; Tue, 13 Mar 2007 21:23:02 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.32) with ESMTP; Tue, 13 Mar 2007 13:56:02 -0700 Received: from [192.168.2.5] (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id D2E78128DAE; Tue, 13 Mar 2007 13:16:34 -0700 (PDT) Message-ID: <45F706A2.5020106@elischer.org> Date: Tue, 13 Mar 2007 13:16:34 -0700 From: Julian Elischer User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= References: <45F388D4.2080900@elischer.org> <45F45172.8070601@elischer.org> <86r6rt6z27.fsf@dwp.des.no> In-Reply-To: <86r6rt6z27.fsf@dwp.des.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: FreeBSD Current Subject: Re: netstat wierdness? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Mar 2007 21:23:02 -0000 Dag-Erling Smørgrav wrote: > Julian Elischer writes: >> answering myself.. >> comes from having options LOCK_PROFILING in my kernel. >> adding the same to /etc/make.conf and recompiling netstat and libkvm helped. >> (not sure if both are needed) > > This is very bad. LOCK_PROFILING should have no visible effect on > userland. That is precisely what xinpcb, xunpcb, xtcpcb etc. are for: > to isolate userland from kernel structures. They should not contain > any locks or anything else which would be affected by LOCK_PROFILING > or other kernel options. > > DES sockstat actually told me that all those were the wrong size, so apparently they change size too.(!?) I haven't gone to look at their definition yet, but as you say, it sounds like something was done wrong.