Re: apache and option USE_FLOCK_SERIALIZED_ACCEPT

2002-06-24 Thread Marc Slemko
On Mon, 24 Jun 2002, Julian Elischer wrote: > OK then if we know we have only one listenning socket, > (I presume that's what SINGLE_LISTEN_UNSERIALIZED_ACCEPT means) > then it just uses a raw accept right? Yes. > The proble we are seeing is apache occasionally has a process > freeze while it h

Re: apache and option USE_FLOCK_SERIALIZED_ACCEPT

2002-06-24 Thread Julian Elischer
On Mon, 24 Jun 2002, Marc Slemko wrote: > On Mon, 24 Jun 2002, Julian Elischer wrote: > > > > > for FreeBSD we seem to get this option set.. > > > > this seems bogus.. > > > > it assumes that multiple processes can't listen on the accept > > at one time... > > That is one use for accept s

Re: apache and option USE_FLOCK_SERIALIZED_ACCEPT

2002-06-24 Thread Jeffrey Hsu
> does anyone know if FreeBSD is safe for having multiple processes do > accept() on the same listenning socket? I wrote a program on FreeBSD several years ago that does exactly this with multiple rforked child processes. In fact, someone recompiled my program on FreeBSD 4.5 last month to mo

Re: apache and option USE_FLOCK_SERIALIZED_ACCEPT

2002-06-24 Thread Marc Slemko
On Mon, 24 Jun 2002, Julian Elischer wrote: > > for FreeBSD we seem to get this option set.. > > this seems bogus.. > > it assumes that multiple processes can't listen on the accept > at one time... That is one use for accept serialization. However, the other reason has to do with multiple