Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Feb 2005 08:32:32 -0600
From:      Randy Rowe <rerowe@rerowe.com>
To:        First Last <steve@n2sw.com>
Cc:        alex@factory33.com
Subject:   Re: High CPU-load with apache 1.3.33+mod-ssl, mod-php
Message-ID:  <1108650752.16534.26.camel@work.rerowe.com>
In-Reply-To: <BE3A1131.7589%steve@n2sw.com>
References:  <BE3A1131.7589%steve@n2sw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2005-02-17 at 09:15 -0500, First Last wrote:
> > Hello list,
> > 
> > Im running FreeBSD 5.3 on a 1.4GHz/256mb P4. I've done  make buildworld
> > and make buildkernel with these options in make.conf:
> > 
> > -------------------------------------------------------
> > # -- use.perl generated deltas -- #
> > # Created: Wed Feb 16 14:46:12 2005
> > # Setting to use base perl from ports:
> > PERL_VER=5.8.5
> > PERL_VERSION=5.8.5
> > PERL_ARCH=mach
> > NOPERL=yo
> > NO_PERL=yo
> > NO_PERL_WRAPPER=yo
> > 
> > CPUTYPE=p4
> > CFLAGS= -O2 -pipe -funroll-loops -ffast-math
> > COPTFLAGS= -O2 -pipe -funroll-loops -ffast-math
> > NOPROFILE=true
> > -------------------------------------------------------
> > 
> > I've installed apache13-modssl, mysql41-server, squirrelmail, phpMyAdmin
> > and everything that is required for these packages to run. (Everything
> > from ports, compiled with the make.conf above). httpd.conf and php.ini and
> > other configfiles are stock, unchanged.
> > 
> > Now, everything works like a charm, excpet that whenever i run phpMyAdmin
> > or Squirrelmail, the cpu-load gets quite high, and stays high for several
> > seconds (7-10) after the page has finished loading. Note that the onlyone
> > using the system is my self.
> > 
> > The exact same setup on a linuxsystem doesen't come near the FreeBSDsystem
> > in cpuload.
> > 
> Why do you say that's its because of apache, can it be a mysql issue, ??

I didn't notice that apache was blamed. :-)


> IS THERE ANYTHING IN DMESG

You might try running top when accessing these pages
to see what's going on.



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