Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2007 13:16:34 -0700
From:      Julian Elischer <julian@elischer.org>
To:        =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= <des@des.no>
Cc:        FreeBSD Current <current@freebsd.org>
Subject:   Re: netstat wierdness?
Message-ID:  <45F706A2.5020106@elischer.org>
In-Reply-To: <86r6rt6z27.fsf@dwp.des.no>
References:  <45F388D4.2080900@elischer.org> <45F45172.8070601@elischer.org> <86r6rt6z27.fsf@dwp.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
Dag-Erling Smørgrav wrote:
> Julian Elischer <julian@elischer.org> 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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45F706A2.5020106>