From owner-freebsd-questions Thu Jan 23 4:47:23 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 457B737B401 for ; Thu, 23 Jan 2003 04:47:21 -0800 (PST) Received: from lurza.secnetix.de (lurza.secnetix.de [212.66.1.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2794343EB2 for ; Thu, 23 Jan 2003 04:47:20 -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 h0NCl8dK006082 for ; Thu, 23 Jan 2003 13:47:08 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.12.6/8.12.5/Submit) id h0NCl8wA006081; Thu, 23 Jan 2003 13:47:08 +0100 (CET) Date: Thu, 23 Jan 2003 13:47:08 +0100 (CET) Message-Id: <200301231247.h0NCl8wA006081@lurza.secnetix.de> From: Oliver Fromme To: freebsd-questions@FreeBSD.ORG Subject: Cannot kill truss process 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 Hi, 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. :-( # ps -uwwp 65275 1011 65275 0.0 0.0 268 136 pd- D 3:05PM 0:00.00 truss jws -2 (jws) # lsof -p 65275 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME jws 65275 1011 cwd VDIR 255,83886227 8192 14090185 /nfs/wgs/chroot/home/olli jws 65275 1011 rtd VDIR 255,83886226 4096 14306151 /nfs/wgs/chroot jws 65275 1011 txt VREG 255,83886227 39428 12078039 /nfs/wgs/chroot/home -- jws jws 65275 1011 txt VREG 255,83886226 79840 10776009 /nfs/wgs/chroot/usr/libexec/ld-elf.so.1 jws 65275 1011 0u VBAD (revoked) jws 65275 1011 1u VBAD (revoked) jws 65275 1011 2u VBAD (revoked) # fstat -p 65275 USER CMD PID FD MOUNT INUM MODE SZ|DV R/W 1011 jws 65275 root /nfs/wgs 14306151 drwxr-xr-x 4096 r 1011 jws 65275 wd /nfs/wgs/chroot/home 14090185 drwxr-xr-x 8192 r 1011 jws 65275 text /nfs/wgs/chroot/home 12078039 -rwxr-xr-x 39428 r 1011 jws 65275 0 - - none - 1011 jws 65275 1 - - none - 1011 jws 65275 2 - - none - Accoding to ps, the truss process is in "disk wait" ("D"), but all disks are working perfectly fine, including the NFS-mounted filesystems. The process that had been trussed ("jws") doesn't run any- more (I had to kill it, using SIGKILL, I think). Does anyone happen to have an idea how to get rid of the truss process? I cannot reboot this machine. 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