Re: kill task in TASK_UNINTERRUPTIBLE

Denis Vlasenko (vda@port.imtp.ilyichevsk.odessa.ua)
Thu, 9 May 2002 13:18:20 -0200


On 8 May 2002 21:27, george anzinger wrote:
> > > > Is there any way i can kill a task in
> > > > TASK_UNINTERRUPTIBLE state ?
> > > No. Everytime you see hung task in this state
> > > you see kernel bug.
> > > Somebody correct me if I am wrong.
> >
> > Except for processes accessing NFS files while the NFS server is down:
> > they will be stuck in TASK_UNINTERRUPTIBLE until the NFS server comes
> > back up again.
>
> A REALLY good argument for puting timeouts on your NSF mounts! Don't
> leave home without them.

Timeouts may be a bad idea: imagine large (LARGE) database
which you don't want to repair due to lost data over NFS.
Better let it hang in NFS i/o even for hours while you are
repairing your network.

OTOH, interruptible NFS mounts are ok: processes can be killed but
with explicit admin action only, just what I need.

Anybody uses _uninterruptible_ NFS mounts? Enlighten me why.

--
vda
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/