From owner-freebsd-questions@FreeBSD.ORG Wed Feb 27 10:59:42 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1940F106566C for ; Wed, 27 Feb 2008 10:59:42 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by mx1.freebsd.org (Postfix) with ESMTP id CDD6F8FC35 for ; Wed, 27 Feb 2008 10:59:36 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so1631527nfb.33 for ; Wed, 27 Feb 2008 02:59:35 -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:mime-version:content-type:content-transfer-encoding:content-disposition; bh=5ObAqzfyO9Iucw2tLu6zDdSDczAkq5OFCmJFFka+7Eo=; b=XXCB9AWnQIRxkle5opCIdijbFZ/DCIocxw7tP8O40YtilHYQ5YCEQwSWwoWiGjzxvC66AEUaUKcrx6sZ36z6iu6lSElJLMseCsB4ovJ5WIgUJmMGR3sJuiUjf5LmEgjT8cXSPSMBqRgnQnlb8JMA/LJYLMoQGmoMgqU6N6SwURQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=p4x2Aoc6VnCjIIx9yJ11EJvI+3kO0tRHCupEfqbKdcsMzgfIIorLdnDrpG8e589VJgVKBrrr3FUozwzVGXV94s/nZ+LjiDMUp4YCJ+uWLC5gp9RcMvUHBUT79ap02DoHnWYW+8kkibQwt7nMBpP93c7tZ28hddB5ORFvItZpvH4= Received: by 10.78.159.7 with SMTP id h7mr5680580hue.66.1204109974733; Wed, 27 Feb 2008 02:59:34 -0800 (PST) Received: by 10.78.130.5 with HTTP; Wed, 27 Feb 2008 02:59:34 -0800 (PST) Message-ID: <94136a2c0802270259i313331dcw45f8c26801f01636@mail.gmail.com> Date: Wed, 27 Feb 2008 11:59:34 +0100 From: "Zbigniew Szalbot" To: freebsd-questions MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: sudden peak in load average 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, 27 Feb 2008 10:59:42 -0000 Hello, >From the MRTG data I can see that suddenly on a currently not very busy machine the load averege went over 15 or more. This happened around 10 in the morning. Not many entries in httpd access log, smtp server was not too much loaded (at that time it generally produces a load average of about 1). But this time: 2008-02-27 10:03:36 1JUICO-0002Bs-23 no immediate delivery: load average 15.88 Where can I look for more information about what happened. The server was rebooted early in the morning so its swap consumption was almost non-existent. Around 10 it suddenly consumed probably around 200MB of swap, now it stands at 135MB which is pretty normal with this machine (it only has 512 RAM). SWAP usage is normal with this machine but it usually is a matter of 2-3 days before it gradually takes over 10-13% of swap space. I tried by looking at: http access log auth.log maillog messages Nothing in there indicating an outburst of sudden activities. heh - I now think I may be wrong. The load average did not necessarily produce so much swap consumption so fast. At 10:13 I run a cron job optimising all mysql tables. So maybe in fact the swap was used by mysql operations, although I am still interested to now what casued load average to go above 15 at 10:03. 10:00AM up 3:14, 0 users, load averages: 0.40, 0.13, 0.05 10:01AM up 3:15, 0 users, load averages: 0.23, 0.14, 0.05 10:02AM up 3:16, 0 users, load averages: 0.08, 0.11, 0.05 10:03AM up 3:17, 0 users, load averages: 11.54, 3.09, 1.15 10:04AM up 3:18, 0 users, load averages: 13.26, 5.69, 2.28 10:05AM up 3:19, 0 users, load averages: 4.98, 4.69, 2.14 10:06AM up 3:20, 0 users, load averages: 1.79, 3.80, 1.99 Thanks for any pointers. -- Zbigniew Szalbot