Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2002 16:21:38 -0800
From:      "Drew Tomlinson" <drew@mykitchentable.net>
To:        "Darlene Choontanom X45478 BSYS" <darlene@water.rsc.raytheon.com>, <freebsd-questions@freebsd.org>
Subject:   Re: fcntl(xx, F_SETLK64, zz) ??
Message-ID:  <025a01c28aaa$a1e380b0$6e2a6ba5@tagalong>
References:  <200211130016.QAA07509@nomads.rsc.raytheon.com>

next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message -----
From: "Darlene Choontanom X45478 BSYS" <darlene@water.rsc.raytheon.com>
To: <freebsd-questions@freebsd.org>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?025a01c28aaa$a1e380b0$6e2a6ba5>