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

David Rees
2002-10-01T05:31:29Z

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.