Re: kill task in TASK_UNINTERRUPTIBLE

From: Andrew Theurer (habanero@us.ibm.com)
Date: Thu May 09 2002 - 12:39:15 EST


Denis Vlasenko wrote:
>
> 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.

I'm not sure using an NFS mount for a big important DB would be prudent
in the first place. I dunno, maybe there are situations where it's
unavoidable. I just really cringe when hearing about DB volumes over
NFS.

-Andrew
-
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/



This archive was generated by hypermail 2b29 : Tue May 14 2002 - 12:00:11 EST