Linux NFS development
 help / color / mirror / Atom feed
From: Neil Brown <neilb@suse.de>
To: "Matt Proud" <matt.proud.list@gmail.com>
Cc: nfs@lists.sourceforge.net
Subject: Re: Possible causes for rpc.mountd consuming 100 percent CPU.
Date: Mon, 5 Mar 2007 13:05:21 +1100	[thread overview]
Message-ID: <17899.31457.535979.478100@notabene.brown> (raw)
In-Reply-To: message from Matt Proud on Sunday March 4

On Sunday March 4, matt.proud.list@gmail.com wrote:
> 
> When rpc.mountd acts funny, an attached strace reveals the a select
> function call occurring very rapidly:
> 
> select(1024, [3 4 5 6 7 32 33 34 35 36 37 38 39 40], NULL, NULL, NULL)
> = 9 (in [32 33 34 35 36 37 38 39 40])

It would help if we could see matching "lsof -p xxx" output to see
exactly what those 9 fds are, but they are presumably tcp connections.

I cannot imagine why mountd would spin on something like that - if
select says that it can read from those fds, it should try to read...

It might be worth trying a newer nfs-utils.  Just grab
1.0.12 from
   http://www.kernel.org/pub/linux/utils/nfs/

./configure --without-nfsv4 --without-gss
make

then kill mountd and run ./utils/mountd/mountd

See if that makes a difference.

NeilBrown

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

  reply	other threads:[~2007-03-05  2:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-05  1:47 Possible causes for rpc.mountd consuming 100 percent CPU Matt Proud
2007-03-05  2:05 ` Neil Brown [this message]
2007-03-05  2:12   ` Matt Proud
2007-03-05  3:07     ` Neil Brown
2007-03-05  3:25       ` Neil Brown
2007-03-05  4:10         ` Neil Brown
     [not found]         ` <a6a251db0703042017l60a872f7ve93038b169a52968@mail.gmail.com>
     [not found]           ` <17899.39862.202935.678726@notabene.brown>
2007-03-05  4:32             ` Matt Proud

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=17899.31457.535979.478100@notabene.brown \
    --to=neilb@suse.de \
    --cc=matt.proud.list@gmail.com \
    --cc=nfs@lists.sourceforge.net \
    /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