Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #16397
| From | gamo <gamo@telecable.es> |
|---|---|
| Newsgroups | comp.os.linux.misc |
| Subject | Re: Memory released after running rsync |
| Date | 2015-11-29 21:56 +0100 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <n3fora$107$1@speranza.aioe.org> (permalink) |
| References | <n3evtg$7hi$1@speranza.aioe.org> <n3fm6o$eqm$2@dont-email.me> |
El 29/11/15 a las 21:12, William Unruh escribió: > 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. >> I realized a test. One script to fill in the memory and get killed by the kernel or perl. First it takes a while. Then, the computer seems hanged. I pressed ^C and after a moment, the program exit and I have only 5 GB of memory occupied. So, I is a bit scary, but a 'releasemem' utility is factible. -- http://gamo.eu.pn/ The generation of random numbers is too important to be left to chance Actually, 360 degree hater.
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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