From: vda <vda@port.imtp.ilyichevsk.odessa.ua>
To: Juergen Sawinski <juergen.sawinski@mpimf-heidelberg.mpg.de>,
"linux-kernel@vger" <linux-kernel@vger.kernel.org>
Subject: Re: processes in uninteruptible state unkillable
Date: Thu, 6 Dec 2001 09:54:59 -0200 [thread overview]
Message-ID: <01120609545901.01020@manta> (raw)
In-Reply-To: <1007568949.7891.0.camel@ara>
In-Reply-To: <1007568949.7891.0.camel@ara>
On Wednesday 05 December 2001 14:15, Juergen Sawinski wrote:
> I have a few processes that were started in a smb mount directory. Due
> to server reboot the connection broke. The processes are now in an
> uninterruptable state, waiting for IO, so, they cannot be killed nor the
> smbfs unmounted.
>
> Obviously, the only thing I can do is to reboot my computer.
> Any suggestions?
Well, technically speaking it's a bug, but this kind of bug
is not going to be fixed. Why?
Imagine that a page from text segment of one of those apps was discarded
due to VM pressure, and now it is needed again. Kernel tries to read it back
from SMB mounted fs which is no longer there. What kernel can do?
It can't signal app (what if signal handler isn't in RAM too?),
it can only kill this process. But the code to do it is not implemented.
(AFAIK. I may be wrong). Kernel is just not prepared for swap or text pages
to become suddenly unavailable. It is hard to handle that too given VM
complexity.
Typically swap is on a local hard disk and apps are started from there too
and it is not expected to fail, so nobody seriously care.
Even NFS folks made hard,nointr mount options the default, which means you'll
never ever will be able to kill your app if server crashed and not rebooted.
To this day I have no explanation why hard,intr isn't a default (it allows me
to kill processes hung in NFS read()/write() syscall).
--
vda
prev parent reply other threads:[~2001-12-06 7:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-05 16:15 processes in uninteruptible state unkillable Juergen Sawinski
2001-12-06 11:54 ` vda [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=01120609545901.01020@manta \
--to=vda@port.imtp.ilyichevsk.odessa.ua \
--cc=juergen.sawinski@mpimf-heidelberg.mpg.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox