Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Aug 2000 03:39:30 +0000
From:      Tony Finch <dot@dotat.at>
To:        Alfred Perlstein <bright@wintelcom.net>
Cc:        Steve Lewis <nepolon@systray.com>, "James E. Pace" <jepace@pobox.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Scaling Apache?
Message-ID:  <20000831033930.D25064@hand.dotat.at>
In-Reply-To: <20000830190849.B18862@fw.wintelcom.net>
References:  <20000828114314.Y1209@fw.wintelcom.net> <Pine.BSF.4.05.10008281156450.22201-100000@greg.ad9.com> <20000828115822.A1209@fw.wintelcom.net> <20000831013646.C25064@hand.dotat.at> <20000830190849.B18862@fw.wintelcom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Alfred Perlstein <bright@wintelcom.net> wrote:
>* Tony Finch <dot@dotat.at> [000830 18:38] wrote:
>> Alfred Perlstein <bright@wintelcom.net> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000831033930.D25064>