From owner-freebsd-questions Tue Nov 12 16:21:47 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B3F837B401 for ; Tue, 12 Nov 2002 16:21:45 -0800 (PST) Received: from blacklamb.mykitchentable.net (207-173-241-209.bras01.elk.ca.frontiernet.net [207.173.241.209]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5354F43E7B for ; Tue, 12 Nov 2002 16:21:44 -0800 (PST) (envelope-from drew@mykitchentable.net) Received: from tagalong (unknown [165.107.42.110]) by blacklamb.mykitchentable.net (Postfix) with SMTP id 5B50AEE571; Tue, 12 Nov 2002 16:21:38 -0800 (PST) Message-ID: <025a01c28aaa$a1e380b0$6e2a6ba5@tagalong> From: "Drew Tomlinson" To: "Darlene Choontanom X45478 BSYS" , References: <200211130016.QAA07509@nomads.rsc.raytheon.com> Subject: Re: fcntl(xx, F_SETLK64, zz) ?? Date: Tue, 12 Nov 2002 16:21:38 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message ----- From: "Darlene Choontanom X45478 BSYS" To: Sent: Tuesday, November 12, 2002 4:16 PM Subject: fcntl(xx, F_SETLK64, zz) ?? > Apologies in advance if this is the wrong group to ask... > > Background: I'm running FreeBSD 4.4 on a file server we set up earlier > this year in the hopes of relieving some of the load from our Solaris > server. Currently we have mostly Sun clients, and a few Redhat clients. > > Problem: one of the big CAD applications we run hangs if a) it is in- > stalled on the FreeBSD server, or b) if any of the user accounts that > call it is located on the FreeBSD machine. I don't know if you've looked at this already but it may help: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/nfs.html See section 19.5.5 specifically. Good Luck, Drew > After banging our heads into various different walls over a couple of > months, we narrowed it down to the fact that this application makes > a lot of (unnecessary?) NFS file locking calls. > > >From Sun clients, it hangs on the call: > > fcntl(6, F_SETLK64, 0xFFBEA3A8) (sleeping...) > > >From Redhat clients, it hangs on the call: > > fcntl64(5, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = -1 EACCES (Permission denied) > > We did talk to the CAD vendor about this, and they swear they've removed > all NFS file locking. However, there seem to be a few that they've missed. > Is this/are these options/commands supported anywhere under FreeBSD, and if > not, could it? > > Thanks-- > Darlene > > --- > darlene@water.rsc.raytheon.com Raytheon Company > Cogito ergo disclaim. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message