Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jan 2005 21:53:48 +0100
From:      Marc Olzheim <marcolz@stack.nl>
To:        freebsd-stable@freebsd.org
Cc:        Jilles Tjoelker <jilles@stack.nl>
Subject:   Re: unkillable processes after debugging on 5.3R
Message-ID:  <20050103205348.GA52689@stack.nl>

next in thread | raw e-mail | index | archive | help

--CE+1k2dSO48ffgeK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

The scheduler is plain SCHED_4BSD btw.

lsof (ports/sysutils) doesn't display anything for pid 20328, but does
for 20326.
The output fstat -vp 20328 generates changes over time; when I try it
now, I get:

turtle:/#fstat -vp 20328           =20
USER     CMD          PID   FD MOUNT      INUM MODE         SZ|DV R/W
peters   zsh        20328 root /             2 drwxr-xr-x    1024  r
peters   zsh        20328   wd /toad.mnt/capitalism 892355 drwxr-xr-x     5=
12  r
peters   zsh        20328 text /usr     921879 -r-xr-xr-x    3156  r
unknown file type 5 for file 10 of pid 20328
peters   zsh        20328   12* local stream c7bdb690 <-> c3d8b08c
can't read pipe at 0x0
peters   zsh        20328   13* error
turtle:/#netstat -an | grep '\(c7bdb690\)\|\(c3d8b08c\)'
c7bdb690 stream      0      0        0 c3d8b08c        0        0 /tmp/.ICE=
-unix/dcop40846-1104760155
c3d8b08c stream      0      0        0 c7bdb690        0        0
turtle:/#lsof /tmp/.ICE-unix/dcop40846-1104760155
COMMAND   PID  USER   FD   TYPE     DEVICE SIZE/OFF NODE NAME
kdeinit 40846 wynke    4u  unix 0xc218b144      0t0      /tmp/.ICE-unix/dco=
p40846-1104760155
kdeinit 40846 wynke    8u  unix 0xc4752144      0t0      /tmp/.ICE-unix/dco=
p40846-1104760155
kdeinit 40846 wynke    9u  unix 0xc3dabdec      0t0      /tmp/.ICE-unix/dco=
p40846-1104760155
kdeinit 40846 wynke   10u  unix 0xc7bde144      0t0      /tmp/.ICE-unix/dco=
p40846-1104760155
kdeinit 40846 wynke   11u  unix 0xc3c01ca8      0t0      /tmp/.ICE-unix/dco=
p40846-1104760155
kdeinit 40846 wynke   12u  unix 0xc25b7798      0t0      /tmp/.ICE-unix/dco=
p40846-1104760155
kdeinit 40846 wynke   13u  unix 0xc3e07dec      0t0      /tmp/.ICE-unix/dco=
p40846-1104760155
kdeinit 40846 wynke   14u  unix 0xc3b4c000      0t0      /tmp/.ICE-unix/dco=
p40846-1104760155
kdeinit 40846 wynke   15u  unix 0xc3c00654      0t0      /tmp/.ICE-unix/dco=
p40846-1104760155
kdeinit 40846 wynke   16u  unix 0xc3a95144      0t0      /tmp/.ICE-unix/dco=
p40846-1104760155
kdeinit 40846 wynke   17u  unix 0xc238fb64      0t0      /tmp/.ICE-unix/dco=
p40846-1104760155
kdeinit 40846 wynke   18u  unix 0xc7be2510      0t0      /tmp/.ICE-unix/dco=
p40846-1104760155
kdeinit 40846 wynke   19u  unix 0xc1e4fa20      0t0      /tmp/.ICE-unix/dco=
p40846-1104760155
kdeinit 40846 wynke   21u  unix 0xc3d99144      0t0      /tmp/.ICE-unix/dco=
p40846-1104760155
kdeinit 40846 wynke   22u  unix 0xc4c14510      0t0      /tmp/.ICE-unix/dco=
p40846-1104760155
kdeinit 40846 wynke   23u  unix 0xc3e523cc      0t0      /tmp/.ICE-unix/dco=
p40846-1104760155
kdeinit 40846 wynke   24u  unix 0xc3c00a20      0t0      /tmp/.ICE-unix/dco=
p40846-1104760155
kdeinit 40846 wynke   25u  unix 0xc22bd8dc      0t0      /tmp/.ICE-unix/dco=
p40846-1104760155
kdeinit 40846 wynke   26u  unix 0xc21db654      0t0      /tmp/.ICE-unix/dco=
p40846-1104760155
kdeinit 40846 wynke   27u  unix 0xc3e533cc      0t0      /tmp/.ICE-unix/dco=
p40846-1104760155
kdeinit 40846 wynke   28u  unix 0xc3e53a20      0t0      /tmp/.ICE-unix/dco=
p40846-1104760155
kdeinit 40846 wynke   29u  unix 0xc3c01144      0t0      /tmp/.ICE-unix/dco=
p40846-1104760155
kdeinit 40846 wynke   30u  unix 0xc3b8a000      0t0      /tmp/.ICE-unix/dco=
p40846-1104760155
kdeinit 40846 wynke   31u  unix 0xc3be9b64      0t0      /tmp/.ICE-unix/dco=
p40846-1104760155
kdeinit 40846 wynke   36u  unix 0xc3c00288      0t0      /tmp/.ICE-unix/dco=
p40846-1104760155
kdeinit 40846 wynke   37u  unix 0xc25b7dec      0t0      /tmp/.ICE-unix/dco=
p40846-1104760155
kdeinit 40846 wynke   38u  unix 0xc7bdf3cc      0t0      /tmp/.ICE-unix/dco=
p40846-1104760155
kdeinit 40846 wynke   39u  unix 0xc3c018dc      0t0      /tmp/.ICE-unix/dco=
p40846-1104760155
kdeinit 40846 wynke   41u  unix 0xc3a95b64      0t0      /tmp/.ICE-unix/dco=
p40846-1104760155
kdeinit 40846 wynke   42u  unix 0xc2968dec      0t0      /tmp/.ICE-unix/dco=
p40846-1104760155
turtle:/#

So it seems like some memory is reused but still accessible via the
'hanging' process...

Marc

--CE+1k2dSO48ffgeK
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFB2bDcezjnobFOgrERAhW6AKCOfnajwJkb0z4MIMKmtbffR7tzNACfa6Fz
O/LIAQaOvnLRuO+PzurpkOI=
=53Zb
-----END PGP SIGNATURE-----

--CE+1k2dSO48ffgeK--



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