Re: Very High Load, kernel 2.4.18, apache/mysql

From: David Rees (dbr@greenhydrant.com)
Date: Tue Oct 01 2002 - 00:36:49 EST


I can second the PHPA recommendation. Since you appear to be CPU bound
doing a lot of processing in httpd, anything you can do to speed them up
will help. PHPA showed significant performance increases in my tests.

-Dave

On Wed, Sep 25, 2002 at 04:16:47PM -0400, Adam Goldstein wrote:
> During my investigation of php accelerator (which we put off before
> thinking it would be better to stabilize the server first) I came
> across a small blurb about php 4.1.2 (which we use) and mysql.
>
> http://www.php-accelerator.co.uk/faq.php#segv2
>
> Apparently this is how the site is written in some places, and it
> causes instability in the php portion of the apache process. We are
> fixing this now. Also, with the nodiratime, noatime, ext2 combination,
> the load has decreased a little, but, not very much. It has still
> reached >25 load when apache processes reached 120 (112 active
> according to server-status) and page loads come to near dead stop...
> segfaults still exist, even with fixed mysql connection calls. :(
> 1-4/min under present 25+ load.
>
> As for the syslog, unfort. almost every entry was marked async. I
> changed an auth log entry but messages was already async. I left
> kernel.errors sync, as It never really logs.
>
> On Wednesday, September 25, 2002, at 04:55 AM, Randal, Phil wrote:
>
> > Have you tried using PHP Accelerator?
> >
> > It's the only free PHP Cache which has survived my testing,
> > and should certainly reduce your CPU load.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 07 2002 - 22:00:25 EST