11.2-STABLE kernel wired memory leak

Mark Johnston markj at freebsd.org
Tue Feb 12 18:53:42 UTC 2019


On Wed, Feb 13, 2019 at 01:48:21AM +0700, Eugene Grosbein wrote:
> 13.02.2019 1:42, Mark Johnston wrote:
> 
> >> Yes, I have debugger compiled into running kernel and have console access.
> >> What commands should I use?
> > 
> > I meant kgdb(1).  If you can run that, try:
> > 
> > (kgdb) p time_uptime
> > (kgdb) p lowmem_uptime
> > 
> > If you are willing to drop the system into DDB, do so and run
> > 
> > db> x time_uptime
> > db> x lowmem_uptime
> 
> I will reach the console next day only. Is it wise to use kgdb over ssh for running remote system? :-)

It should be fine.  kgdb opens /dev/(k)mem read-only.


More information about the freebsd-stable mailing list