From owner-freebsd-questions Thu Jan 23 7:55:57 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C14A37B401 for ; Thu, 23 Jan 2003 07:55:56 -0800 (PST) Received: from lurza.secnetix.de (lurza.secnetix.de [212.66.1.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BBED43F3F for ; Thu, 23 Jan 2003 07:55:54 -0800 (PST) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (localhost [IPv6:::1]) by lurza.secnetix.de (8.12.6/8.12.5) with ESMTP id h0NFtodK013171 for ; Thu, 23 Jan 2003 16:55:51 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.12.6/8.12.5/Submit) id h0NFtoQF013170; Thu, 23 Jan 2003 16:55:50 +0100 (CET) Date: Thu, 23 Jan 2003 16:55:50 +0100 (CET) Message-Id: <200301231555.h0NFtoQF013170@lurza.secnetix.de> From: Oliver Fromme To: freebsd-questions@FreeBSD.ORG Subject: Re: Cannot kill truss process In-Reply-To: <20030123154210.GA83066@dan.emsphone.com> X-Newsgroups: list.freebsd-questions User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.7-RELEASE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dan Nelson wrote: > In the last episode (Jan 23), Oliver Fromme said: > > Dan Nelson wrote: > > > In the last episode (Jan 23), Oliver Fromme said: > > > > I've got a problem on a 4.7-RELEASE machine. I tried using > > > > /usr/bin/truss on a process (which was running in a chroot > > > > environment, which in turn is on an NFS-mounted filesystem, > > > > if that matters). But now I cannot kill the truss process > > > > itself anymore, it's hanging there for a few days already. > > > > > > Do a ps axlp 65275; what's the WCHAN column say? > > > > It says "stopev": > > > > # ps lwwp 65275 > > UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TT TIME COMMAND > > 1011 65275 1 0 10 0 268 136 stopev D pd- 0:00.00 truss jws - > > That looks like truss was being trussed :) I thought "stopevent" was > what traced processes stopped at while the tracing process was working > on them. Try running "truss -p 65275" and see if it frees up. # truss -p 65275 SIGNAL 9 SIGNAL 9 process exit, rval = 9 Killed # ps lwwp 65275 UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TT TIME COMMAND # Hooray! Thanks a bunch! :) Regards Oliver -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "All that we see or seem is just a dream within a dream" (E. A. Poe) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message