Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2003 13:47:08 +0100 (CET)
From:      Oliver Fromme <olli@secnetix.de>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Cannot kill truss process
Message-ID:  <200301231247.h0NCl8wA006081@lurza.secnetix.de>

next in thread | raw e-mail | index | archive | help
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




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