From owner-freebsd-stable@FreeBSD.ORG Thu Feb 17 14:32:41 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE01B16A4CE for ; Thu, 17 Feb 2005 14:32:41 +0000 (GMT) Received: from holmes.rerowe.com (holmes.rerowe.com [216.229.6.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04E6843D3F for ; Thu, 17 Feb 2005 14:32:41 +0000 (GMT) (envelope-from rerowe@rerowe.com) Received: from work.rerowe.com (holmesby.rerowe.com [216.229.6.185]) by holmes.rerowe.com (8.13.1/8.13.1) with ESMTP id j1HEWX99076483; Thu, 17 Feb 2005 08:32:33 -0600 (CST) (envelope-from rerowe@rerowe.com) From: Randy Rowe To: First Last In-Reply-To: References: Content-Type: text/plain Date: Thu, 17 Feb 2005 08:32:32 -0600 Message-Id: <1108650752.16534.26.camel@work.rerowe.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-3) Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.44 cc: freebsd-stable@freebsd.org cc: alex@factory33.com Subject: Re: High CPU-load with apache 1.3.33+mod-ssl, mod-php X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Feb 2005 14:32:41 -0000 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.