Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #16395

Re: Memory released after running rsync

From William Unruh <unruh@invalid.ca>
Newsgroups comp.os.linux.misc
Subject Re: Memory released after running rsync
Date 2015-11-29 20:12 +0000
Organization A noiseless patient Spider
Message-ID <n3fm6o$eqm$2@dont-email.me> (permalink)
References <n3evtg$7hi$1@speranza.aioe.org>

Show all headers | View raw


On 2015-11-29, gamo <gamo@telecable.es> wrote:
>
> Hello,
>
> I have a desktop machine with 32 GB RAM, and as expected most of
> the memory is used as a cache. Sometimes I have few memory free,
> less than 1 GB, and happens that after running 'rsync' the memory
> reported by 'free' as free is increased notably. So the question
> is: what kind of magic do the rsync program?

memory which is unused is used by Linux as program chache. Instead of
releasing the program memory, the program is kept in memory in case it
is reused. HOwever, if some other program requires the memory, it is
released. Thus probably rsync uses that memory, and then releases it
before shutting down. Thus the memory is now free. It is no longer used
for program cache because that use was supreceeded by rsync, and no
longer used by rsync either. 

The above is just a guess. 
>
> Thanks. Regards.
>

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Memory released after running rsync gamo <gamo@telecable.es> - 2015-11-29 14:51 +0100
  Re: Memory released after running rsync William Unruh <unruh@invalid.ca> - 2015-11-29 20:12 +0000
    Re: Memory released after running rsync gamo <gamo@telecable.es> - 2015-11-29 21:56 +0100
      Re: Memory released after running rsync William Unruh <unruh@invalid.ca> - 2015-11-29 21:16 +0000
        Re: Memory released after running rsync gamo <gamo@telecable.es> - 2015-11-29 23:52 +0100
      Re: Memory released after running rsync Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2015-11-30 00:33 +0100
        Re: Memory released after running rsync gamo <gamo@telecable.es> - 2015-11-30 07:16 +0100
          Re: Memory released after running rsync Teemu Likonen <tlikonen@iki.fi> - 2015-12-01 18:04 +0200
            Re: Memory released after running rsync gamo <gamo@telecable.es> - 2015-12-01 23:49 +0100
  Re: Memory released after running rsync Keith Keller <kkeller-usenet@wombat.san-francisco.ca.us> - 2015-11-29 18:36 -0800

csiph-web