From owner-freebsd-stable Fri Nov 19 10:55:49 1999 Delivered-To: freebsd-stable@freebsd.org Received: from mail2.uniserve.com (mail2.uniserve.com [204.244.156.7]) by hub.freebsd.org (Postfix) with ESMTP id 93B1B14E0E for ; Fri, 19 Nov 1999 10:55:33 -0800 (PST) (envelope-from tom@uniserve.com) Received: from shell.uniserve.ca ([204.244.186.218]) by mail2.uniserve.com with smtp (Exim 3.03 #4) id 11otBz-000PrJ-00; Fri, 19 Nov 1999 10:55:31 -0800 Date: Fri, 19 Nov 1999 10:55:28 -0800 (PST) From: Tom X-Sender: tom@shell.uniserve.ca To: Phillip Salzman Cc: stable@freebsd.org Subject: Re: Memory leaks? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 19 Nov 1999, Phillip Salzman wrote: > > > --------------------- > > > Before > > > --------------------- > > > CPU states: 1.2% user, 0.0% nice, 0.8% system, 0.4% interrupt, 97.7% > > > idle > > > Mem: 7988K Active, 6796K Inact, 14M Wired, 8283K Buf, 222M Free > > > Swap: 256M Total, 256M Free > > > > > > --------------------- > > > After > > > --------------------- > > > CPU states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% > > > idle > > > Mem: 10M Active, 214M Inact, 14M Wired, 10M Cache, 8337K Buf, 896K Free > > > Swap: 256M Total, 256M Free > > > I don't really see a problem there. rsync did hammer the buffer cache > > though. > > > > rsync uses a lot of memory because it builds the entire file list in > > memory before starting. This makes rsync useless for large filesets. > > But why would a machine with 256M of RAM all of a sudden have > problems with running out of memory during an rsync. It worked before > I CVSup'd to the latest -STABLE kernel. I moved the home directories > and mail three days ago (not latest -stable), at the same time, without > difficulty. How big does rsync get when running? How much memory have you allowed it to use? > I guess I may have to find a way to move the files across that > isn't so memory intensive. First i'll see if I can re-create the out > of memory error with a different util... maybe slam it with web requests. > > Thanks > > -- > Phillip Salzman > > > Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message