Subject: Re: process in 'D' state
To: Pramod Srinivasan <pramod@redback.com>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-help
Date: 11/21/2001 12:17:13
On Tue, Nov 20, 2001 at 04:58:55PM -0800, Pramod Srinivasan wrote:
> Hi,
> 
> I have a process which does not repond to any signals and is in a 'D'
> state. This generally happens when 'myprocess' tries to ftp files from a
> 
> host and the host is running low on memory, but I am not sure of the
> reason.
> 
> Can some one help me in isolating the problem and help me fixing it.
> 
> # ps -axl
>   UID   PID  PPID CPU PRI NI   VSZ  RSS WCHAN  STAT TT       TIME
> COMMAND
>     0     0     0   0 -18  0     0 15180 schedu DLs  ??    0:00.04
> (swapper)
>     0     2     0   0 -18  0     0 15180 daemon DL   ??    0:00.02
> (pagedaemon)
>     0     3     0   0 -18  0     0 15180 reaper DL   ??    0:00.02
> (reaper)
>     0    53    45   0   2  0   888  588 netio  D    00    0:02.05
> myprocess
> 
> There are a bunch of other process which has been omitted.

It looks like your process is waiting for data from the network, but doesn't
get any. Use tcpdump to see what packets are exenged between your host and
the ftp server.

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--