From owner-freebsd-net Mon Jun 24 14:20:46 2002 Delivered-To: freebsd-net@freebsd.org Received: from sccrmhc02.attbi.com (sccrmhc02.attbi.com [204.127.202.62]) by hub.freebsd.org (Postfix) with ESMTP id DAC8C37B4A6 for ; Mon, 24 Jun 2002 14:20:15 -0700 (PDT) Received: from InterJet.elischer.org ([12.232.206.8]) by sccrmhc02.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020624212015.WISX10417.sccrmhc02.attbi.com@InterJet.elischer.org> for ; Mon, 24 Jun 2002 21:20:15 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id OAA54144 for ; Mon, 24 Jun 2002 14:20:12 -0700 (PDT) Date: Mon, 24 Jun 2002 14:20:05 -0700 (PDT) From: Julian Elischer To: net@freebsd.org Subject: apache and option USE_FLOCK_SERIALIZED_ACCEPT 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 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... does anyone know if FreeBSD is safe for having multiple processes do accept() on the same listenning socket? My perusal of the code suggests it should be but I'm unsure why the option is set by default for FreeBSD. WHat it does is allow only one process to do an accept at one time, by using a file flock() as a semaphore... seems to be it should be un-needed. am I dreaming? what am I missing? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message