From owner-freebsd-apache@FreeBSD.ORG Wed Feb 15 21:05:36 2006 Return-Path: X-Original-To: freebsd-apache@freebsd.org Delivered-To: freebsd-apache@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA31116A420 for ; Wed, 15 Feb 2006 21:05:36 +0000 (GMT) (envelope-from sheepkiller@cultdeadsheep.org) Received: from goofy.cultdeadsheep.org (charon.cultdeadsheep.org [80.65.226.72]) by mx1.FreeBSD.org (Postfix) with SMTP id B957943D49 for ; Wed, 15 Feb 2006 21:05:34 +0000 (GMT) (envelope-from sheepkiller@cultdeadsheep.org) Received: (qmail 18231 invoked by uid 1000); 15 Feb 2006 22:05:33 +0100 Date: Wed, 15 Feb 2006 22:05:33 +0100 From: Clement Laforet To: BSD Message-ID: <20060215210533.GB59145@goofy.cultdeadsheep.org> References: <43F3539E.5080007@celeritystorm.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="b5gNqxB1S1yM7hjW" Content-Disposition: inline In-Reply-To: <43F3539E.5080007@celeritystorm.com> User-Agent: Mutt/1.5.10i Cc: freebsd-apache@freebsd.org Subject: Re: Apache 1.3 + PHP 5 on FreeBSD 6 -- bad performance under load X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Feb 2006 21:05:37 -0000 --b5gNqxB1S1yM7hjW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 15, 2006 at 04:15:26PM +0000, BSD wrote: > As you can see, it took 10 seconds to reply to the GET, yet the=20 > accepting of the connection was instant. > I have more than enough maxfiles, maxproc, maxfilesperproc, nmbclusters= =20 > etc. I guess the connection is so promptly answered because of the http= =20 > accept filters built in the kernel. > > As a final note, the MaxClients I'm using are not nearly enough (around= =20 > 200 connections/second, according to pfstat graphics vs MaxClients 98).= =20 > The reason for this is that trying to match MaxClients with the real=20 > load resulted in two 0.0% idle processors, since the PHP code is a bit=20 > heavy. I've opted to disable KeepAlive and lower MaxClients instead.=20 > Could this be the delay I'm seeing ? I think so, but I need more=20 > opinions, so feel free to reply. It looks like requests are stuck in the listen backlog. clem --b5gNqxB1S1yM7hjW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFD85edsRhfjwcjuh0RAkvYAJ9uC/RQLDwHKadfy5o9YpmGX7JOkgCg5G2G kXF40H2kRBgRwc5AP3LEVHo= =q5x1 -----END PGP SIGNATURE----- --b5gNqxB1S1yM7hjW--