mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Christian Reis <kiko@async.com.br>
To: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: NFS@lists.sourceforge.net, linux-kernel@vger.kernel.org
Subject: Re: /var/lib/nfs/sm/ files
Date: Wed, 8 Jan 2003 15:14:24 -0200	[thread overview]
Message-ID: <20030108151424.N2628@blackjesus.async.com.br> (raw)
In-Reply-To: <200301081346.10335.trond.myklebust@fys.uio.no>; from trond.myklebust@fys.uio.no on Wed, Jan 08, 2003 at 01:46:10PM +0100

On Wed, Jan 08, 2003 at 01:46:10PM +0100, Trond Myklebust wrote:
> >     - Why do most entries' mtime get updated periodically, but a few of
> >       the entries go stale with time?
> 
> The file should get deleted every time the client releases all locks and 
> successfully manages to notify the server that it is stopping monitoring.

Aha, this makes a lot of sense. Then the leftover files I am getting are
probably a product of:

syslog:Jan  7 08:35:47 canario rpc.statd[101]: Received erroneous SM_UNMON request from canario for 192.168.99.4
syslog:Jan  7 09:09:37 canario rpc.statd[101]: Received erroneous SM_UNMON request from canario for 192.168.99.4
syslog:Jan  7 18:23:15 canario rpc.statd[101]: Received erroneous SM_UNMON request from canario for 192.168.99.4

It seems that rpc.statd itself isn't liking the request it's getting and
never forwards it to the server. I used to think these were harmless,
but now I wonder why would this be happening?

> >     - Why do some of the stale entries get left over even after the
> >       workstations have halted (these ones present the nfs hang issue)?
> 
> 
> As I've told you before: 'stale' entries, as you call them, indicate that the 

(Sorry, I am apparently clueless when it gets to these details.)

> rpc.statd never managed to notify the server that it should stop monitoring. 
> It indicates either the server or the client crashed before the POSIX locks 
> held by the client got released, or possibly that the rpc.statd processes 
> crashed (or got 'kill -9' ed).

But at least it seems that nobody has crashed - statd is running along
fine. Both server and clients run the same versions of the daemon, and
the fact that we get repeated messages (without restarting anybody)
should indicate that it is in fact running. 

Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL

      reply	other threads:[~2003-01-08 17:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-07 15:27 Christian Reis
2003-01-07 16:54 ` Trond Myklebust
2003-01-08 11:50   ` Christian Reis
2003-01-08 12:46     ` Trond Myklebust
2003-01-08 17:14       ` Christian Reis [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=20030108151424.N2628@blackjesus.async.com.br \
    --to=kiko@async.com.br \
    --cc=NFS@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=trond.myklebust@fys.uio.no \
    /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

Powered by JetHome