From owner-freebsd-net Mon Jun 24 15:33:52 2002 Delivered-To: freebsd-net@freebsd.org Received: from alive.znep.com (sense-sea-MegaSub-1-448.oz.net [216.39.145.194]) by hub.freebsd.org (Postfix) with ESMTP id 6DA6437B688 for ; Mon, 24 Jun 2002 15:32:46 -0700 (PDT) Received: from localhost (marcs@localhost) by alive.znep.com (8.9.3/8.9.3) with ESMTP id PAA89004; Mon, 24 Jun 2002 15:32:44 -0700 (PDT) (envelope-from marcs@znep.com) Date: Mon, 24 Jun 2002 15:32:44 -0700 (PDT) From: Marc Slemko To: Julian Elischer Cc: net@FreeBSD.ORG Subject: Re: apache and option USE_FLOCK_SERIALIZED_ACCEPT In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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