From owner-freebsd-hackers Wed Jul 18 11:56:54 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from furby.ispra.webweaving.org (w149.z064000151.sjc-ca.dsl.cnc.net [64.0.151.149]) by hub.freebsd.org (Postfix) with ESMTP id E574D37B401 for ; Wed, 18 Jul 2001 11:56:46 -0700 (PDT) (envelope-from fanf@furby.ispra.webweaving.org) Received: from fanf by furby.ispra.webweaving.org with local (Exim 3.14 #1) id 15MwlH-00063d-00; Wed, 18 Jul 2001 19:13:31 +0000 Date: Wed, 18 Jul 2001 19:13:31 +0000 From: Tony Finch To: Alfred Perlstein Cc: sthaug@nethelp.no, hackers@FreeBSD.ORG, Jef Poskanzer , Tony Finch Subject: Re: thttpd hack for sendfile and accept filters. Message-ID: <20010718191331.F16082@furby.ispra.webweaving.org> References: <20010420044402.L1790@fw.wintelcom.net> <72342.987768654@verdi.nethelp.no> <72342.987768654@verdi.nethelp.no>; <20010420052337.O1790@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20010420052337.O1790@fw.wintelcom.net> Organization: dotat labs Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Alfred Perlstein wrote: > >The easiest way would be to have thttpd fork after listening a >pre-determined amount of servers, then they'll all compete calling >accept() to grab connections. This is exactly what we did at Demon, which was for a long time the largest thttpd installation, with about 70,000 vhosts on one machine with a few reverse-proxies in front. I think I sent that patch to Jef, but it is hardly rocket science :-) Tony. -- f.a.n.finch FISHER: NORTHEAST 4 OR 5. RAIN LATER. GOOD. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message