From owner-freebsd-questions Wed Aug 30 20:41:14 2000 Delivered-To: freebsd-questions@freebsd.org Received: from hand.dotat.at (sfo-gw.covalent.net [207.44.198.62]) by hub.freebsd.org (Postfix) with ESMTP id 45C5737B42C for ; Wed, 30 Aug 2000 20:41:11 -0700 (PDT) Received: from fanf by hand.dotat.at with local (Exim 3.15 #3) id 13ULCM-0007H4-00; Thu, 31 Aug 2000 03:39:30 +0000 Date: Thu, 31 Aug 2000 03:39:30 +0000 From: Tony Finch To: Alfred Perlstein Cc: Steve Lewis , "James E. Pace" , freebsd-questions@FreeBSD.ORG Subject: Re: Scaling Apache? Message-ID: <20000831033930.D25064@hand.dotat.at> References: <20000828114314.Y1209@fw.wintelcom.net> <20000828115822.A1209@fw.wintelcom.net> <20000831013646.C25064@hand.dotat.at> <20000830190849.B18862@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000830190849.B18862@fw.wintelcom.net> Organization: Covalent Technologies, Inc Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alfred Perlstein wrote: >* Tony Finch [000830 18:38] wrote: >> Alfred Perlstein wrote: >> > >> >One trick is to hack apache use the "accept filters" that I brought >> >into FreeBSD (from Yahoo), you can search the mailing lists for patches >> >to have apache use them. >> >> BTW, I've committed the patch to Apache-1.3 and it'll be in the next >> released version, or if you can't wait, try >> http://dev.apache.org/from-cvs/apache-1.3/ > >Ack, accept filters aren't loaded by default in apache, at a glance it >looks like your code will just exit if they aren't loaded. The setsockopt() call returns ENOENT if the acept filter isn't loaded, and the code I committed checks for this. >May I make two suggestions: >1) just issue a warning and continue on if the filter isn't available I decided to just continue and not issue a warning because in the usual case accept filters aren't required and they can cause trouble (greater vulnerability to DOS attacks). If the user is sufficiently interested in them they'll find out about it from the release notes and performance tuning documentation. >2) allow a runtime/compiletime option to use the 'httpready' module > as it offers substantial benifits over dataready. There's already a compile time option. Tony. -- en oeccget g mtcaa f.a.n.finch v spdlkishrhtewe y dot@dotat.at eatp o v eiti i d. fanf@covalent.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message