Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Feb 2006 22:05:33 +0100
From:      Clement Laforet <sheepkiller@cultdeadsheep.org>
To:        BSD <bsdlists@celeritystorm.com>
Cc:        freebsd-apache@freebsd.org
Subject:   Re: Apache 1.3 + PHP 5 on FreeBSD 6 -- bad performance under load
Message-ID:  <20060215210533.GB59145@goofy.cultdeadsheep.org>
In-Reply-To: <43F3539E.5080007@celeritystorm.com>
References:  <43F3539E.5080007@celeritystorm.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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 
> accepting of the connection was instant.
> I have more than enough maxfiles, maxproc, maxfilesperproc, nmbclusters 
> etc. I guess the connection is so promptly answered because of the http 
> accept filters built in the kernel.
>
> As a final note, the MaxClients I'm using are not nearly enough (around 
> 200 connections/second, according to pfstat graphics vs MaxClients 98). 
> The reason for this is that trying to match MaxClients with the real 
> load resulted in two 0.0% idle processors, since the PHP code is a bit 
> heavy. I've opted to disable KeepAlive and lower MaxClients instead. 
> Could this be the delay I'm seeing ? I think so, but I need more 
> opinions, so feel free to reply.

It looks like requests are stuck in the listen backlog.

clem

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFD85edsRhfjwcjuh0RAkvYAJ9uC/RQLDwHKadfy5o9YpmGX7JOkgCg5G2G
kXF40H2kRBgRwc5AP3LEVHo=
=q5x1
-----END PGP SIGNATURE-----

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