Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Nov 1999 09:24:00 -0800 (PST)
From:      Tom <tom@uniserve.com>
To:        Phillip Salzman <phill@rumfish.corp.gulf.net>
Cc:        stable@freebsd.org
Subject:   Re: Memory leaks?
Message-ID:  <Pine.BSF.4.02A.9911190921480.11560-100000@shell.uniserve.ca>
In-Reply-To: <Pine.BSF.4.10.9911191013590.2781-100000@rumfish.corp.gulf.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.02A.9911190921480.11560-100000>