From owner-freebsd-isp Sun Nov 10 11:31:31 1996 Return-Path: owner-isp Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA27672 for isp-outgoing; Sun, 10 Nov 1996 11:31:31 -0800 (PST) Received: from ican.net (ican.net [198.133.36.9]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id LAA27652 for ; Sun, 10 Nov 1996 11:31:25 -0800 (PST) Received: from gate.ican.net(really [198.133.36.2]) by ican.net via sendmail with esmtp id for ; Sun, 10 Nov 1996 14:31:15 -0500 (EST) (Smail-3.2 1996-Jul-4 #1 built 1996-Jul-10) Received: (from smap@localhost) by gate.ican.net (8.7.5/8.7.3) id OAA03994 for ; Sun, 10 Nov 1996 14:30:33 -0500 (EST) Received: from cabal.io.org(10.1.6.2) by gate.ican.net via smap (V1.3) id sma003992; Sun Nov 10 14:30:10 1996 Received: from localhost (taob@localhost) by cabal.io.org (8.7.6/8.7.3) with SMTP id OAA10155 for ; Sun, 10 Nov 1996 14:30:11 GMT X-Authentication-Warning: cabal.io.org: taob owned process doing -bs Date: Sun, 10 Nov 1996 14:30:10 +0000 () From: Brian Tao To: FREEBSD-ISP-L Subject: Re: **ccd, disk striping, and fsck problems** In-Reply-To: <199610151658.LAA26097@brasil.moneng.mei.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-isp@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk On Tue, 15 Oct 1996, Joe Greco wrote: > > csh -c "unlimit; exec fsck -p" > > as a way to circumvent the per process memory limit that you may be > running into. FWIW, this is what I see when fscking one of my test ccd filesystems (5x2GB drives). If the amount of memory consumed is directly proportional to the number of files, then I imagine a large news spool with several million files might require 40MB or more for an fsck. # time fsck -y /dev/rccd0c ** /dev/rccd0c ** Last Mounted on /news/spool ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 1207915 files, 10459546 used, 0 free (0 frags, 0 blocks, 0.0% fragmentation) 20.430u 6.885s 16:22.79 2.7% 206+18844k 2+1io 7pf+0w # df -i Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on /dev/ccd0c 10459546 10459546 -836763 109% 1207915 1318803 48% /news/spool -- Brian Tao (BT300, taob@io.org, taob@ican.net) Senior Systems and Network Administrator, Internet Canada Corp. "Though this be madness, yet there is method in't"