Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Sep 2000 14:25:44 +0200
From:      Vadim Belman <voland@lflat.org>
To:        freebsd-hackers@freebsd.org
Subject:   Live debugging of a process being hung in a syscall.
Message-ID:  <20000915142543.A3697@lflat.vas.mobilix.dk>

next in thread | raw e-mail | index | archive | help
	It seem like I got a NFS-related bug here where a httpd process
hung in a uninterruptable wait (a disk operation, most likely). In order to
locate the problem I need the process' stack trace first.

	gdb doesn't attach to the process for obvious reasons. Making a
crashdump doesn't inspire me at all.

	The question is: is there a way of working with /proc entries? I.e.
is it possible to get all what I need from, say, /proc/<PID>/mem?

-- 
    /Voland			Vadim Belman
				E-mail: voland@lflat.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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