From owner-freebsd-isp Sun Apr 15 19:27:38 2001 Delivered-To: freebsd-isp@freebsd.org Received: from mail.tgd.net (rand.tgd.net [64.81.67.117]) by hub.freebsd.org (Postfix) with SMTP id 043E437B424 for ; Sun, 15 Apr 2001 19:27:34 -0700 (PDT) (envelope-from sean@mailhost.tgd.net) Received: (qmail 13176 invoked by uid 1001); 16 Apr 2001 02:27:28 -0000 Date: Sun, 15 Apr 2001 19:27:28 -0700 From: Sean Chittenden To: Rowan Crowe Cc: freebsd-isp@freebsd.org Subject: Re: boa small/fast web server Message-ID: <20010415192728.B11573@rand.tgd.net> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="m51xatjYGsM+13rf" Content-Disposition: inline In-Reply-To: ; from "rowan@sensation.net.au" on Mon, Apr 16, 2001 at = 11:53:07AM X-PGP-Key: 0x1EDDFAAD X-PGP-Fingerprint: C665 A17F 9A56 286C 5CFB 1DEA 9F4F 5CEF 1EDD FAAD X-Web-Homepage: http://sean.chittenden.org/ Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --m51xatjYGsM+13rf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Boa's an excellent static content web server, I've been very impressed with its performance and hackability (just make sure that you know it can get any file that's world readable). How many file descriptors do you have? -sc > Badly worded technical question: > > When a program opens a socket for listening, and someone connects, is a > copy of that socket handed over to the process that owns it (with the > original socket remaining open for immediate further connects), or does > the process use that socket and then have to recreate the listening > connection? The former was closer. > Is anyone else using Boa having this problem? Any tips in general on how > to optimise FreeBSD 4.2R for Apache and/or Boa? It's basically a stock > GENERIC kernel with non relevant devices removed. Boa was compiled from > original archive rather than via the ports collection, so that may be an > issue too. Do you have different IPs for boa and apache? You should be able to compile boa from src or ports. I personally would recommend using ports, but that's up to you. > This is the same machine that was crashing a while back, it's now running > on all DIMM instead of SIMM+DIMM and it's been running well, just rarely > above 0% idle. Boa has changed that, but at what cost... boa shouldn't be a problem, I've had a hacked boa server pushing 2000 connections a second on a P200 IDE box. It's probably kernel tweaking that needs to happen. -sc --=20 Sean Chittenden --m51xatjYGsM+13rf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Comment: Sean Chittenden iEYEARECAAYFAjraWJAACgkQn09c7x7d+q3rcQCdFroCoozpemT45QQ4usjpB12q fP4AoKPHIgK7ZmAGYeSJnAfeqZ6Tk+3T =V/qh -----END PGP SIGNATURE----- --m51xatjYGsM+13rf-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message