From owner-freebsd-questions@FreeBSD.ORG Wed Oct 25 21:43:56 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 579E516A47B for ; Wed, 25 Oct 2006 21:43:56 +0000 (UTC) (envelope-from john@yoafrica.com) Received: from ns2.yoafrica.com (ns2.yoafrica.com [66.135.41.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9ADD143D49 for ; Wed, 25 Oct 2006 21:43:54 +0000 (GMT) (envelope-from john@yoafrica.com) Received: from panadol.yoafrica.com ([196.44.176.14]) by ns2.yoafrica.com with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1GcqX9-0004zY-0L for freebsd-questions@freebsd.org; Wed, 25 Oct 2006 21:43:36 +0000 Received: from smtp.yoafrica.com ([196.44.176.8]) by panadol.yoafrica.com with esmtp (Exim 4.63 (FreeBSD)) (envelope-from ) id 1GcqXG-000JNY-HU; Wed, 25 Oct 2006 23:43:43 +0200 Received: from hades.yoafrica.com ([196.44.177.50]) by smtp.yoafrica.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63 (FreeBSD)) (envelope-from ) id 1GcqXF-000KMh-BR; Wed, 25 Oct 2006 23:43:41 +0200 Received: from sysjo by hades.yoafrica.com with local (Exim 4.63) (envelope-from ) id 1GcqXE-0006JS-Nz; Wed, 25 Oct 2006 23:43:41 +0200 Date: Wed, 25 Oct 2006 23:43:40 +0200 From: John To: freebsd-questions@freebsd.org Message-ID: <20061025214340.GA8976@yoafrica.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) X-Spam-Score: 0.0 (/) Subject: apache20 going nuts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Oct 2006 21:43:56 -0000 Hi all, Recently, occasionally apache starts using lots of processor on one of my servers. This has started out of the blue. I am running apache 2.0.58 and FreeBSD codeine.yoafrica.com 6.1-STABLE FreeBSD 6.1-STABLE #0: Sat Jun 17 01:52:21 CAT 2006 sysjo@codeine.yoafrica.com:/usr/obj/usr/src/sys/CODEINE i386 I have just upgraded to apache 2.0.59. This happens randomly and I can't trace it to anything else. On the webserver, I am running roundcube, vexim, mailman and a couple of very small php apps I've built myself. When I say small I mean very very small. Does anyone have any ideas about what I could do about this. Find out what in apache is using the processor so much. TIA, -John last pid: 70289; load averages: 8.38, 7.15, 3.95 up 52+17:42:14 23:12:10 168 processes: 9 running, 159 sleeping CPU states: 98.1% user, 0.0% nice, 1.9% system, 0.0% interrupt, 0.0% idle Mem: 316M Active, 366M Inact, 217M Wired, 50M Cache, 110M Buf, 39M Free Swap: 2004M Total, 142M Used, 1862M Free, 7% Inuse PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 51874 www 1 130 0 19148K 12976K RUN 1:01 12.30% httpd 67045 www 1 129 0 16308K 10028K RUN 0:55 11.96% httpd 29639 www 1 130 0 19188K 13032K RUN 1:22 11.91% httpd 62291 www 1 130 0 19160K 13020K RUN 1:05 11.77% httpd 87078 www 1 130 0 19108K 12888K RUN 0:57 11.77% httpd 67445 www 1 129 0 22812K 16668K RUN 1:06 11.72% httpd 67056 www 1 129 0 18848K 12600K RUN 0:55 11.72% httpd