From owner-freebsd-stable Fri Nov 19 9:24: 9 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 C401A14CE0 for ; Fri, 19 Nov 1999 09:24:05 -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 11orlT-000Ntg-00; Fri, 19 Nov 1999 09:24:03 -0800 Date: Fri, 19 Nov 1999 09:24:00 -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: > I'm having a very strange problem. We are attempting to rsync var/mail > from a BSD/OS 3.1 machine, to its replacement, a FreeBSD 3.3-STABLE > box. > > This uses a lot of memory, in theory, but it should release it when > completed. I'd think :) > > --------------------- > 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 > > Please note that rsync died on an out of memory error. 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. > -- > Phillip Salzman > phill@rumfish.corp.gulf.net Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message