From owner-freebsd-stable@FreeBSD.ORG Tue Nov 18 19:33:04 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63F991065670 for ; Tue, 18 Nov 2008 19:33:04 +0000 (UTC) (envelope-from igor.lyapin@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.26]) by mx1.freebsd.org (Postfix) with ESMTP id 0D6388FC14 for ; Tue, 18 Nov 2008 19:33:03 +0000 (UTC) (envelope-from igor.lyapin@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so1738087qwb.7 for ; Tue, 18 Nov 2008 11:33:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=4UmVtm5YRlJ/VAeqQ2N8o08zMC8X4mwlGcTXZXr7uY8=; b=P4BTz+zPSbrIvaK6qbl/u+xH6AEObpK1eD/ufHMZoa7sb1emvlqo5Q+zZjARCWKA6q MEaD8GPCgFsuc3fuyaVIUNaknq0r8Cd45gFbssBtxRaKL+xa06RpPdlMJSalx9t2GImA TRp/2aRM2QPKe7438lLgjUcEAmLhBVNipXxh4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=oGnQowJ8fl6lZfbHgg/5uGNRORBKA14bJwO8flWStxj1hC5UJpOtVkUYoztKTyhP77 a4afqh7iDGxGtHTHSFv83YMJM81wl7SoA/qO6yAkkSLImREyp8tvnLAA8H+K4QUwrR3f 6ZRM7jrak10o8f6Itl13dPSUREydEFXVh2XkI= Received: by 10.215.13.6 with SMTP id q6mr392169qai.37.1227036782990; Tue, 18 Nov 2008 11:33:02 -0800 (PST) Received: by 10.214.43.11 with HTTP; Tue, 18 Nov 2008 11:33:02 -0800 (PST) Message-ID: Date: Tue, 18 Nov 2008 22:33:02 +0300 From: "Igor Lyapin" To: "Jeremy Chadwick" In-Reply-To: <20081118175303.GA64181@icarus.home.lan> MIME-Version: 1.0 References: <20081118175303.GA64181@icarus.home.lan> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org Subject: Re: High system in %system load . X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2008 19:33:04 -0000 # apachectl -V Server version: Apache/2.2.9 (FreeBSD) Server built: Oct 17 2008 13:31:54 Server's Module Magic Number: 20051115:15 Server loaded: APR 1.3.0, APR-Util 1.3.0 Compiled using: APR 1.3.0, APR-Util 1.3.0 Architecture: 64-bit Server MPM: Prefork threaded: no forked: yes (variable process count) Server compiled with.... -D APACHE_MPM_DIR="server/mpm/prefork" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_FLOCK_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=128 -D HTTPD_ROOT="/usr/local" -D SUEXEC_BIN="/usr/local/bin/suexec" -D DEFAULT_PIDLOG="/var/run/httpd.pid" -D DEFAULT_SCOREBOARD="/var/run/apache_runtime_status" -D DEFAULT_LOCKFILE="/var/run/accept.lock" -D DEFAULT_ERRORLOG="/var/log/httpd-error.log" -D AP_TYPES_CONFIG_FILE="etc/apache22/mime.types" -D SERVER_CONFIG_FILE="etc/apache22/httpd.conf" On Tue, Nov 18, 2008 at 8:53 PM, Jeremy Chadwick wrote: > On Tue, Nov 18, 2008 at 08:04:41PM +0300, Igor Lyapin wrote: > > I already sent # top head in my first mail > > that's all non idle top process > > > > last pid: 56920; load averages: 2.90, 2.25, 1.72 up > > 0+22:10:12 20:04:05 > > 210 processes: 2 running, 207 sleeping, 1 zombie > > CPU states: 8.3% user, 0.0% nice, 32.5% system, 0.3% interrupt, 58.9% > > idle > > Mem: 1268M Active, 1904M Inact, 479M Wired, 154M Cache, 214M Buf, 125M > Free > > Swap: 8192M Total, 8192M Free > > > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU > > COMMAND > > 55546 www 1 -4 0 198M 24912K ufs 1 0:25 29.39% > httpd > > 55986 www 1 -4 0 198M 23228K ufs 2 0:08 21.39% > httpd > > 56030 www 1 -4 0 199M 23400K ufs 1 0:05 11.23% > httpd > > 56033 www 1 96 0 198M 23760K select 0 0:31 5.86% > httpd > > 55134 www 1 -4 0 199M 29864K ufs 1 0:19 5.37% > httpd > > 711 mysql 26 96 0 1545M 641M ucond 1 165:53 5.08% > > mysqld > > 56001 www 1 4 0 198M 24060K accept 0 0:31 3.76% > httpd > > 55928 www 1 96 0 198M 24184K select 0 0:31 2.29% > httpd > > 56070 www 1 -4 0 199M 25620K ufs 2 0:02 2.20% > httpd > > 56020 www 1 -4 0 198M 20684K ufs 1 0:22 2.15% > httpd > > 55970 www 1 97 0 198M 23996K select 0 0:01 1.51% > httpd > > 55898 www 1 96 0 199M 25724K select 0 0:02 1.46% > httpd > > 56009 www 1 4 0 199M 26564K accept 1 0:03 1.32% > httpd > > 56058 www 1 96 0 199M 25040K select 2 0:01 1.27% > httpd > > 56914 www 1 96 0 198M 20720K select 0 0:00 1.24% > httpd > > 56912 www 1 96 0 198M 20688K select 0 0:00 1.15% > httpd > > 56149 www 1 96 0 199M 25204K select 0 0:01 1.12% > httpd > > 56918 www 1 96 0 198M 20692K select 0 0:00 1.12% > httpd > > 55901 www 1 4 0 199M 25176K accept 0 0:02 1.07% > httpd > > 56018 www 1 4 0 199M 25680K accept 3 0:02 0.93% > httpd > > 56073 www 1 4 0 199M 24960K accept 1 0:02 0.93% > httpd > > 56880 www 1 4 0 198M 20720K accept 2 0:00 0.89% > httpd > > 56671 www 1 4 0 198M 20708K accept 0 0:01 0.79% > httpd > > 55979 www 1 4 0 199M 24176K accept 2 0:03 0.78% > httpd > > 55843 www 1 96 0 199M 27756K select 2 0:01 0.78% > httpd > > 55779 www 1 96 0 199M 27420K select 0 0:03 0.73% > httpd > > 56881 www 1 4 0 198M 22300K accept 0 0:01 0.69% > httpd > > 55933 www 1 4 0 199M 24952K accept 0 0:02 0.68% > httpd > > 55926 www 1 96 0 199M 26324K select 1 0:02 0.68% > httpd > > 55969 www 1 4 0 199M 25128K accept 0 0:02 0.68% > httpd > > 56892 www 1 96 0 199M 24084K select 3 0:01 0.67% > httpd > > 56907 www 1 96 0 198M 20692K select 3 0:00 0.65% > httpd > > 56874 www 1 96 0 199M 23300K select 1 0:01 0.64% > httpd > > 56125 www 1 96 0 199M 24004K select 0 0:02 0.63% > httpd > > What version of Apache is this, and exactly what options did you build > it with? > > -- > | Jeremy Chadwick jdc at parodius.com | > | Parodius Networking http://www.parodius.com/ | > | UNIX Systems Administrator Mountain View, CA, USA | > | Making life hard for others since 1977. PGP: 4BD6C0CB | > > -- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.