From: "matteo.debiaggi" Subject: Re: Lock problem. Date: Thu, 11 Oct 2007 16:24:38 +0200 Message-ID: <470E3226.4080706@charta.it> References: <470DE540.1090908@charta.it> <18189.63030.815930.43180@notabene.brown> <470E2012.5020808@charta.it> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: Neil Brown , nfs@lists.sourceforge.net To: "Talpey, Thomas" Return-path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list2-new.sourceforge.net with esmtp (Exim 4.43) id 1Ifyy8-0000I6-GQ for nfs@lists.sourceforge.net; Thu, 11 Oct 2007 07:24:56 -0700 Received: from [213.209.214.162] (helo=charta.it) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ifyy9-0005fT-5f for nfs@lists.sourceforge.net; Thu, 11 Oct 2007 07:25:01 -0700 In-Reply-To: List-Id: "Discussion of NFS under Linux development, interoperability, and testing." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nfs-bounces@lists.sourceforge.net Errors-To: nfs-bounces@lists.sourceforge.net The 2 machines are in a local net without any kind of firewalls .. But the problem "seems" to be solved : I think the problem is in lockd daemon. Explained 30 sec waiting : 2 locks request with default timeout 15 sec.. And then why lock not gained on server? Maybe due to max concurrent threads asking fo lock to lockd daemon where the default is 20!My test implyies 2000 lines writing on file with a pause of 10000 us between write attempt and reading every 100ms.So 20 lock requests queued are a possible context. I restarted lockd daemon with 100 as maximum contemporary lock requests from threads and test goes fine. Thanks to everybody. I hope not to face this problem again after this modify. Matteo. p.s. i can't get nlm decoding from tcpdump.. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs