From owner-freebsd-stable Fri Nov 19 10:53:10 1999 Delivered-To: freebsd-stable@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id B113F15684 for ; Fri, 19 Nov 1999 10:52:56 -0800 (PST) (envelope-from bright@wintelcom.net) Received: from localhost (bright@localhost) by fw.wintelcom.net (8.9.3/8.9.3) with ESMTP id LAA24534; Fri, 19 Nov 1999 11:19:19 -0800 (PST) Date: Fri, 19 Nov 1999 11:19:19 -0800 (PST) From: Alfred Perlstein To: Phillip Salzman Cc: Tom , 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. > > 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. The odd part is that you aren't swapping at all, but yet it looks like you _are_ using all available core with rsync. check your limits. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message