From owner-freebsd-questions Tue Nov 12 16:16:39 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 F411837B401 for ; Tue, 12 Nov 2002 16:16:37 -0800 (PST) Received: from lax-gate4.raytheon.com (lax-gate4.raytheon.com [199.46.200.233]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6227D43E88 for ; Tue, 12 Nov 2002 16:16:32 -0800 (PST) (envelope-from darlene@water.rsc.raytheon.com) Received: from ds02w00.directory.ray.com (ds02w00.directory.ray.com [147.25.146.118]) by lax-gate4.raytheon.com (8.12.5/8.12.5) with ESMTP id gAD0GLd6001239 for ; Tue, 12 Nov 2002 16:16:21 -0800 (PST) Received: from ds02w00.directory.ray.com (root@localhost) by ds02w00.directory.ray.com (8.12.1/8.12.1) with ESMTP id gAD0GIYP020034 for ; Tue, 12 Nov 2002 16:16:18 -0800 (PST) Received: from water.rsc.raytheon.com (water.RSC.RAYTHEON.COM [147.17.211.95]) by ds02w00.directory.ray.com (8.12.1/8.12.1) with ESMTP id gAD0G1Nr019935 for ; Tue, 12 Nov 2002 16:16:01 -0800 (PST) Received: from nomads.rsc.raytheon.com (nomads [147.17.211.112]) by water.rsc.raytheon.com (8.8.8+Sun/8.8.8) with SMTP id QAA16499; Tue, 12 Nov 2002 16:16:00 -0800 (PST) Received: by nomads.rsc.raytheon.com (SMI-8.6/SMI-SVR4) id QAA07509; Tue, 12 Nov 2002 16:16:00 -0800 Date: Tue, 12 Nov 2002 16:16:00 -0800 From: darlene@water.rsc.raytheon.com (Darlene Choontanom X45478 BSYS) Message-Id: <200211130016.QAA07509@nomads.rsc.raytheon.com> To: freebsd-questions@freebsd.org Subject: fcntl(xx, F_SETLK64, zz) ?? 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 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. 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