Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Feb 2006 16:56:09 -0500
From:      Kris Kennaway <kris@obsecurity.org>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        Ivan Kolosovskiy <agava-develop@yandex.ru>, freebsd-stable@freebsd.org
Subject:   Re: Strange process
Message-ID:  <20060215215608.GA55676@xor.obsecurity.org>
In-Reply-To: <20060215194204.GC70956@dan.emsphone.com>
References:  <1140027060.83368.11.camel@r4.agava-guns.domain> <20060215194204.GC70956@dan.emsphone.com>

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

--8t9RHnE3ZwKMSgU+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Feb 15, 2006 at 01:42:04PM -0600, Dan Nelson wrote:
> In the last episode (Feb 15), Ivan Kolosovskiy said:
> > i have strange deadlocked(?) process on my system.
> >=20
> > top:
> >=20
> > PID USERNAME  THR PRI NICE   SIZE    RES STATE  C   TIME   WCPU COMMAND
> > 38410 findfile    1  96    0     0K     0K START  0   0:00  0.00% grotty
> >=20
> > ps:
> >=20
> > host$ ps -waux | grep grotty
> > findfile 38410  0,0  0,0     0     0  p6  REJ  19:57     0:00,25 [grott=
y]
>=20
> E in the STAT column means the process is trying to exit, but can't.
> What does "ps lp 38410" print?  The MWCHAN column should say where in
> the kernel the process is stuck.

I often see this too.  For example:

  PID USERNAME    THR PRI NICE   SIZE    RES STATE    TIME   WCPU COMMAND
 5357 kkenn         1  96    0     0K     0K START    0:00  0.35% xpdf

> ps -waux  | grep xpdf
kkenn    5357  0.3  0.0     0     0  ??  RE   Sun08PM   0:00.20 [xpdf]

> ps lp 5357
  UID   PID  PPID CPU PRI NI   VSZ   RSS MWCHAN STAT  TT       TIME COMMAND
>

Kris

--8t9RHnE3ZwKMSgU+
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFD86N4Wry0BWjoQKURAuUzAJ0fCrs306YCq/4LOplW7r93PC+AqwCdFvGU
ENuXg/af/gO0mjAdf0LYNpI=
=xTbZ
-----END PGP SIGNATURE-----

--8t9RHnE3ZwKMSgU+--



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