High CPU-load with apache 1.3.33+mod-ssl, mod-php

Alex Bustamante alex at factory33.com
Thu Feb 17 13:30:16 GMT 2005


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.

Anyone got a clue? Thanks!



More information about the freebsd-stable mailing list