From owner-freebsd-questions@FreeBSD.ORG Mon Oct 4 00:58:30 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58B8D16A4CE for ; Mon, 4 Oct 2004 00:58:30 +0000 (GMT) Received: from blue.host.is (blue.host.is [212.30.222.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC85343D54 for ; Mon, 4 Oct 2004 00:58:29 +0000 (GMT) (envelope-from bjorn@swift.is) Received: from localhost (localhost [127.0.0.1]) by blue.host.is (Postfix) with ESMTP id 2DED4247 for ; Mon, 4 Oct 2004 00:58:29 +0000 (GMT) Received: from blue.host.is ([127.0.0.1]) by localhost (blue [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25879-01 for ; Mon, 4 Oct 2004 00:58:27 +0000 (GMT) Received: from maroon.host.is (maroon.host.is [192.168.1.69]) by blue.host.is (Postfix) with ESMTP id E4DDF1C4 for ; Mon, 4 Oct 2004 00:58:26 +0000 (GMT) From: Bjorn Swift To: freebsd-questions@freebsd.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-WZVqw92c2jFh/fmICImR" Message-Id: <1096851506.6876.82.camel@maroon.host.is> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Mon, 04 Oct 2004 00:58:26 +0000 X-Virus-Scanned: by amavisd-new (f-prot) at host.is Subject: Load increase after upgrading php4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Oct 2004 00:58:30 -0000 --=-WZVqw92c2jFh/fmICImR Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Early September I upgraded php4 using the new php port structure (that is php4 and php4-extensions). Since then I have noticed quite an increase in server load - I'd say my current load is about five times what it was before. Graph available here: http://bjorn.swift.is/tmp/hermes-uptime-year.png I suspect this being because the "new way" seems to compile everything as loadable modules. My question is basically whether "this is just how it is" and that I should compile php myself I want it built as one binary - or if this increase in load is something not to be expected. Has anyone else witnessed anything like this on their servers? What did you do ? The server is a patched FreeBSD 4.8 running php 4.3.8 and apache 1.3.31. It's not a heavy loaded one, serving an average of just over 3 req/sec, but most of the files (besides images) are rather bloated php scripts; webmail, message boards and such. The server is running Nick Lindridge's PHP Accelerator. If anyone has any tips or thoughts they would be greatly appreciated. (Would freebsd-isp perhaps be a better list for a question of this sort?) Cheers, Bjorn Swift=20 --=-WZVqw92c2jFh/fmICImR Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBBYKAySdjZwc95JlMRAqPSAJ9ZBSSKwwHVM8WhpVA0szq5fPpKmwCcD3P5 L34KI5sRoSGBhq54XvwL2FI= =nZtS -----END PGP SIGNATURE----- --=-WZVqw92c2jFh/fmICImR--