From owner-freebsd-questions Wed Sep 26 8:44:46 2001 Delivered-To: freebsd-questions@freebsd.org Received: from gamma.root-servers.ch (gamma.root-servers.ch [195.49.62.126]) by hub.freebsd.org (Postfix) with SMTP id BB80137B419 for ; Wed, 26 Sep 2001 08:44:41 -0700 (PDT) Received: (qmail 71286 invoked from network); 26 Sep 2001 15:44:40 -0000 Received: from dclient217-162-128-224.hispeed.ch (HELO athlon550) (217.162.128.224) by 0 with SMTP; 26 Sep 2001 15:44:40 -0000 Date: Wed, 26 Sep 2001 17:48:38 +0200 From: Gabriel Ambuehl X-Mailer: The Bat! (v1.53bis) Educational Organization: BUZ Internet Services X-Priority: 3 (Normal) Message-ID: <60164745040.20010926174838@buz.ch> To: questions@freebsd.org Subject: FreeBSD a good choice for high performance webservers? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Hello questions, Ok, I know the subject is provoking, but it's absolutely intended as the Makefile of the Apache 2 port states: [... configure arguments...] --disable-threads \ --with-mpm=preforked # Apache's thread doesn't work well in FreeBSD As far as I can tell, this means FreeBSD is going to be left behind by Linux in the not too distant future (i.e. when Apache 2 gets released) cause Linux for sure will work with the threaded MPMs which are obviously faster than the preforked approach [1] in terms of real world HTTP performance. I for myself would really LOVE to use the perchild module to have each VHOST running under a different UID (needs lots of RAM but considering what possibilities this introduces[2], I'm very willing to go buy that RAM especially with the current RAM prices) for which the FreeBSD support looks pretty bad if threaded Apache doesn't work... So is this a temporary problem of the betas which will get fixed in time for the release of Apache 2 or should I go get my hands on a Debian (which appears to be the only sane Linux distro) box? Best regards, Gabriel [1] (renowned Stevens unfortunately didn't manage to get threaded servers working on BSD/OS so I have no real benchmarks to back this up but Solaris and Digital Unix were both significantly better performing with threads than with preforked servers) [2] setuid PHP module: No more worries about users stealing each others their DB passwords etc pp. Yeah. (this obviously requires that PHP will work with threaded servers...) -----BEGIN PGP SIGNATURE----- Version: PGP 6.5i iQEVAwUBO7HqysZa2WpymlDxAQFfdQf/TpgP8Hr2K5w74NxNBZrE3asi12Laxq52 i1Tv3WtiCGSIITaiKPWAkOyYr9ror/Vq0CpTt7wwSDdx++UoJb93tIFBAVj641BJ UBGXBJfWh8E8FPRPq2EhadEiBcRtVPSmVXDhDsOxKcemQ3SEIbO6+WaYjb17Ik0M yUkuYSz3y+ynegXX+v+9MlyLraLhvDCPM19mzge1DK2HuVCcpcGgcV3HVqJAuvlO RhrvTDcgmg9Xt+yjtPCf3mgbqIbX/v44A5fpxdJFq4D/YgP+TUfyouAQzEgw+a2X FusqJ+BG6sutZDl2aueNyRfEFiCSkPuT8eiZffFus+USCGoxEoIDuA== =7QJx -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message