From owner-freebsd-hackers Tue Mar 20 10: 5:42 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from peorth.iteration.net (peorth.iteration.net [208.190.180.178]) by hub.freebsd.org (Postfix) with ESMTP id E6B0E37B73F; Tue, 20 Mar 2001 10:05:35 -0800 (PST) (envelope-from keichii@peorth.iteration.net) Received: by peorth.iteration.net (Postfix, from userid 1001) id F01F259283; Tue, 20 Mar 2001 12:03:14 -0600 (CST) Date: Tue, 20 Mar 2001 12:03:14 -0600 From: "Michael C . Wu" To: Ted Faber Cc: fs@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: tuning a VERY heavily (30.0) loaded server Message-ID: <20010320120314.D52586@peorth.iteration.net> Reply-To: "Michael C . Wu" References: <20010320111144.A51924@peorth.iteration.net> <20010320092717.R29888@fw.wintelcom.net> <20010320113818.B52586@peorth.iteration.net> <20010320094837.B1284@ted.isi.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010320094837.B1284@ted.isi.edu>; from faber@ISI.EDU on Tue, Mar 20, 2001 at 09:48:37AM -0800 X-PGP-Fingerprint: 5025 F691 F943 8128 48A8 5025 77CE 29C5 8FA1 2E20 X-PGP-Key-ID: 0x8FA12E20 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Mar 20, 2001 at 09:48:37AM -0800, Ted Faber scribbled: | On Tue, Mar 20, 2001 at 11:38:18AM -0600, Michael C . Wu wrote: | > On Tue, Mar 20, 2001 at 09:27:17AM -0800, Alfred Perlstein scribbled: | > | * Michael C . Wu [010320 09:11] wrote: | > | > Physical memory is 2.5 GB. We do MFS and it croaks/crashes | > | > at midnight, our peak load time. We do md0, it croaks before | > | > peak time. | > | | > | Explain the crash. What is md0/MFS being used for? Why do you | > | need it? | > | > md0/MFS is used for caching the articles that BBS users read. | > They often read the same articles over and over again, | > and we find that a 128MB MFS/md0 will have 70% hitrate | > | > When our MFS/md0 fills up after long usage, the box easily | > dies. (We crontab clean the mfs, but sometimes the load | > shoots up for no reason and is not able to clean the mfs in time.) | > If we dont do this cache, the data for the bulletin boards | | Forgive me if this is a stupid question, but how much swap is there on | this machine? Is the combination of the packed MFS and high process | load exhausting your swap? SWAP is never touched. :) 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 -- +-----------------------------------------------------------+ | keichii@iteration.net | keichii@freebsd.org | | http://iteration.net/~keichii | Yes, BSD is a conspiracy. | +-----------------------------------------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message