Linux NFS development
 help / color / mirror / Atom feed
From: Baurzhan Ismagulov <ibr@radix50.net>
To: nfs@lists.sourceforge.net
Subject: flock LOCK_EX hangs
Date: Wed, 16 May 2007 15:12:53 +0200	[thread overview]
Message-ID: <20070516131253.GC19167@radix50.net> (raw)

Hello all,

I'm experiencing problems with the kernel NFS server. The client hangs
on the flock call. This is Debian etch, Linux 2.6.16-1-686-smp, the
server and the client is the same machine. The directory is exported
with rw, no mount options. The lockd kernel thread is present, rpcinfo
-p reports nlockmgr registered, the firewall passes all the traffic
through.

I've googled and searched the list archive, the postings are usually
quite old (only two were from 2006 and referred to Linux 2.6), and I
couldn't see how I could further analyze the problem. I've also tried
mounting with nolock, but this apparently makes flock / fcntl to fail,
since the tools I use (automake and debootstrap, although I checked this
only with the latter) exited with an error code, and I rely upon it.

How can I fix the problem?

Thanks in advance,
-- 
Baurzhan Ismagulov
http://www.kz-easy.com/

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

             reply	other threads:[~2007-05-16 13:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-16 13:12 Baurzhan Ismagulov [this message]
2007-05-16 17:30 ` flock LOCK_EX hangs J. Bruce Fields
2007-05-16 22:09   ` Baurzhan Ismagulov
2007-05-31 23:15   ` Baurzhan Ismagulov

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=20070516131253.GC19167@radix50.net \
    --to=ibr@radix50.net \
    --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