httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: Changed information for PR general/361 (fwd)
Date Tue, 22 Apr 1997 12:09:28 GMT
Randy Terbush wrote:
> 
> 
> FWIW - FreeBSD does not support the F_SETLKW flag. Apparently BSDI 
> does.
> 
> > Date: Mon, 21 Apr 1997 15:58:15 -0400 (EDT)
> > From: Pierre-Jules Tremblay <trep@cim.mcgill.ca>
> > To: Dean Gaudet <dgaudet@arctic.org>
> > Subject: Re: Changed information for PR general/361
> > 
> > 
> > > Another update:  one of our FreeBSD folk says that you need to use
> > > USE_FLOCK_SERIALIZED_ACCEPT instead of _FCNTL_.  Sorry 'bout that.  I'm
> > > not sure what the difference will be, but if you still get a hang with
> > > FCNTL please try switching to FLOCK. 
> > 
> > We have not experienced any hangs in the past 36 hours, since using
> > EXTRA_CFLAGS=-DUSE_FCNTL_SERIALIZED_ACCEPT (we're using BSD/OS 3.0).
> > 
> > I won't switch to USE_FLOCK_SERIALIZED_ACCEPT unless we experience
> > problems or someone tells we what the difference is ;)
> > 

If running NFS, fcntl/lockf coordinates things with statd/lockd
which can really slow things down. flock does not do this on
most systems and so is quicker.
-- 
====================================================================
      Jim Jagielski            |       jaguNET Access Services
     jim@jaguNET.com           |       http://www.jaguNET.com/
                  "Not the Craw... the CRAW!"

Mime
View raw message