From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: VDA <VDA@port.imtp.ilyichevsk.odessa.ua>
Cc: linux-kernel@vger.kernel.org
Subject: Re: NFS daemons in D state for 2 minutes at shutdown
Date: Fri, 21 Sep 2001 11:25:22 +0200 [thread overview]
Message-ID: <15275.1922.771056.17407@charged.uio.no> (raw)
In-Reply-To: <1978861221.20010921110112@port.imtp.ilyichevsk.odessa.ua>
In-Reply-To: <3531863216.20010920164639@port.imtp.ilyichevsk.odessa.ua> <shswv2tpyvq.fsf@charged.uio.no> <1978861221.20010921110112@port.imtp.ilyichevsk.odessa.ua>
>>>>> " " == VDA <VDA@port.imtp.ilyichevsk.odessa.ua> writes:
> Well, do you mean I must update my shutdown script whenever I
> install something new just because this "something new" does
> not like standard, well accepted method of signalling apps to
> exit? Come on, this sounds like The Wrong Way.
Bullshit. killall5 is definitely *not* a well accepted method for
shutting down applications. Try doing that while your network is
running via a ppp link...
Some programs *have* to be shutdown in a certain order. All RPC
servers fall into that category.
> So, why modified killall5 does the job?
I've no idea how you modified killall5, but if it manages to kill nfsd
before killing the portmapper, then all will work.
> Why not make portmapper+NFS daemons killable by TERM, giving
> them the chance to do proper cleanups rather than abrupt KILL?
NFS daemons *do* perform proper cleanups. That's the whole essence of
your problem - they are waiting on the portmapper to acknowledge that
it has unregistered their service. These are *kernel* daemons and so
KILL acts just like any signal as far as they are concerned.
Cheers,
Trond
next prev parent reply other threads:[~2001-09-21 9:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-20 13:46 VDA
2001-09-20 17:15 ` Trond Myklebust
2001-09-21 9:25 ` Trond Myklebust [this message]
2001-09-21 23:06 ` Trond Myklebust
2001-09-22 0:36 ` Mike Castle
2001-09-21 8:01 ` VDA
2001-09-21 12:46 ` VDA
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=15275.1922.771056.17407@charged.uio.no \
--to=trond.myklebust@fys.uio.no \
--cc=VDA@port.imtp.ilyichevsk.odessa.ua \
--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
all inboxes | Powered by JetHome®