From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15155 invoked by uid 1002); 24 Jun 2003 02:22:24 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 2837 invoked from network); 24 Jun 2003 02:22:23 -0000 Date: Mon, 23 Jun 2003 19:22:22 -0700 From: Robin H.Johnson To: gentoo-dev List Cc: William Kenworthy Message-ID: <20030624022222.GA2186@cherenkov.orbis-terrarum.net> Mail-Followup-To: gentoo-dev List , William Kenworthy References: <20030622214532.GA25405@breccia.escarpment> <3EF719B5.50502@codewordt.co.uk> <1056408414.6239.15.camel@rattus.Localdomain> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gKMricLos+KVdGMg" Content-Disposition: inline In-Reply-To: <1056408414.6239.15.camel@rattus.Localdomain> User-Agent: Mutt/1.5.3i Subject: Re: [gentoo-dev] HEADS UP: Twitching to un-arch-mask Apache2 X-Archives-Salt: 28197e43-68d0-46ec-9578-fd0c75c209ff X-Archives-Hash: c569b9a2307eb4070cefc510ef2b0d8b --gKMricLos+KVdGMg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 24, 2003 at 06:46:55AM +0800, William Kenworthy wrote: > Does anyone know why php wont work with apache-2? See my other posting to this list. It works fine. > I thought there were "issues" with particular php routines that you > may or may not come across depending on what you are doing, That was the thread-safe problem with threaded Apache2 MPMs (such as worker). Again, see my other post about it. 6 months ago, there were a lot more thread-safe extensions in PHP, since then the great majority have been fixed. Just net-snmp and mcrypt still, and those have fixes in them AFAIK but I don't know if the PHP people have looked if the fixes are good enough. > and apache-2 performance in general was slower and was unsatisfactory > on high load servers - i.e., at about 6months ago apache-2 just wasnt > ready for prime time. Have these problems been overcome, or are they > just being ignored? I did a little quick testing at work. All values are approximate, rounded DOWN to the nearest multiple of 10. These tests are a very simple little script I cooked up, and should not be taken as any definite performance guide. The actual speed measurements were taken with 'ab2', on a seperate machine, running over gigabit ethernet. The test server is a dual Xeon 2.66Ghz, 1GB ECC RAM. Pages are served =66rom a ramdisk. Apache1+PHP vs. Apache2(prefork MPM [default])+PHP =3D dead heat, different hardware setup might push it in either direction. This is a non-threaded MPM, so no threadsafe issues here. All of the remaining MPMs below are threaded: Apache1+PHP vs. Apache2(worker MPM)+PHP =3D Apache2 pushes out ~10% more pages than Apache1.=20 Apache1+PHP vs. Apache2(perchild MPM)+PHP =3D Apache1 wins by ~10%, but this MPM is intended for more security, not performance.=20 Apache1+PHP vs. Apache2(leader MPM)+PHP =3D Apache2 wins by ~20%, but this MPM seems unstable over longer periods (and it _is_ marked in the Apache2 docs as such). --=20 Robin Hugh Johnson E-Mail : robbat2@orbis-terrarum.net Home Page : http://www.orbis-terrarum.net/?l=3Dpeople.robbat2 ICQ# : 30269588 or 41961639 GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85 --gKMricLos+KVdGMg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Robbat2 @ Orbis-Terrarum Networks iD8DBQE+97XesnuUTjSIToURAjhzAJ0bsr/vsrvTpYYWE7JUT/Zf3r06HgCeJxtn G8fHZg7vm72kZYm5decErnM= =E7/m -----END PGP SIGNATURE----- --gKMricLos+KVdGMg--