From owner-freebsd-hackers Tue Mar 20 10:49:18 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.enteract.com (mail.enteract.com [207.229.143.33]) by hub.freebsd.org (Postfix) with ESMTP id 8F07A37B71A; Tue, 20 Mar 2001 10:49:12 -0800 (PST) (envelope-from dscheidt@tumbolia.com) Received: from shell-3.enteract.com (dscheidt@shell-3.enteract.com [207.229.143.42]) by mail.enteract.com (8.11.1/8.11.2) with ESMTP id f2KIEjG70592; Tue, 20 Mar 2001 12:14:45 -0600 (CST) (envelope-from dscheidt@tumbolia.com) Date: Tue, 20 Mar 2001 12:14:45 -0600 (CST) From: David Scheidt X-Sender: dscheidt@shell-3.enteract.com To: "Michael C . Wu" Cc: Ted Faber , fs@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: tuning a VERY heavily (30.0) loaded server In-Reply-To: <20010320120314.D52586@peorth.iteration.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 20 Mar 2001, Michael C . Wu wrote: : :SWAP is never touched. :) Your vmstat output shows page out activity. I can't tell if it's to swap or to file backed memory, but it's happening. You know this isn't happening when your box blows up? : :last pid: 23395; load averages: 2.08, 2.92, 3.60 up 0+01:29:58 02:03:27 :1529 processes:24 running, 1505 sleeping :CPU states: 40.5% user, 0.0% nice, 46.4% system, 1.1% interrupt, 12.0% idle :Mem: 705M Active, 1369M Inact, 332M Wired, 99M Cache, 265M Buf, 7504K Free :Swap: 512M Total, 512M Free You really, really should have at least as much as swap as RAM, probably closer to 2X. A big spike in load can run you out of swap very quickly -- less tan a minute. -- dscheidt@tumbolia.com Bipedalism is only a fad. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message