Date: Mon, 24 Jun 2002 15:32:44 -0700 (PDT) From: Marc Slemko <marcs@znep.com> To: Julian Elischer <julian@elischer.org> Cc: net@FreeBSD.ORG Subject: Re: apache and option USE_FLOCK_SERIALIZED_ACCEPT Message-ID: <Pine.BSF.4.20.0206241523180.38173-100000@alive.znep.com> In-Reply-To: <Pine.BSF.4.21.0206241505410.53897-100000@InterJet.elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 has the token (flock) and everything comes to a grinding > halt after a while... "freeze"? Typically issues in this area have been due to flakey locking implementations, eg. doing file locking on a file mounted over NFS, but that shouldn't apply to freebsd. You could try disabling accept filters I guess (AcceptFilter off) if the current version is 1.3.21 or higher and they are supported in the kernel in use. > Since we have to upgrate now anyhow due to chunking (whatever that is) > we'll see if maybe the problem is fixed with the upgrade..... Possible, but likely not unless perhaps you are upgrading from a really old version. Also note that current versions of Apache 1.3 let you specify what accept mutex to use at runtime, so you should be able to play around with other options. Well, fcntl at least, not sure if anything else is supported on Apache on FreeBSD. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.20.0206241523180.38173-100000>