Util-Linux package development
 help / color / mirror / Atom feed
* fsck memory leak
@ 2015-12-04  7:15 U.Mutlu
  2015-12-04  7:49 ` U.Mutlu
  2015-12-04 15:19 ` Theodore Ts'o
  0 siblings, 2 replies; 15+ messages in thread
From: U.Mutlu @ 2015-12-04  7:15 UTC (permalink / raw)
  To: util-linux

Hi,
when I as root do "touch /forcefsck" and reboot, then fsck will be done.
But afterwards one has less free memory available than normal.
Example:
used mem immediately after login:
  without fsck during boot:  98 MB (this the normal level here)
  with fsck during boot   : 139 MB
So, there is a memory leak of about 41 MB.

fsck from util-linux 2.25.2
Filesys: ext4, 500 MB SSD
OS: Debian 8 X86_64, uptodate

-- 
U.Mutlu


^ permalink raw reply	[flat|nested] 15+ messages in thread
* Re: fsck memory leak
@ 2015-12-04 23:08 Dave Rutherford
  0 siblings, 0 replies; 15+ messages in thread
From: Dave Rutherford @ 2015-12-04 23:08 UTC (permalink / raw)
  To: util-linux; +Cc: U.Mutlu

On Fri, Dec 4, 2015 at 5:26 PM, U.Mutlu <for-gmane@mutluit.com> wrote:
> I'm not a friend of such default integrated system caching, it reminds
> me of Windows idiocy. This is nothing but a diskcache in ram,

... made up strictly of memory that nothing else wants.
This is different than a ramdisk, which itself is something that wants 
RAM.

> but then
> the admin should have the the freedom to set the size of the cache via
> a config file in etc, for example /etc/default/cache or in 
/etc/default/tmpfs.

Why? It's memory that *nothing else wants*. It's given up instantly
the moment something else needs to use it. So there's no downside,
unlike with that other "operating system" you mention.

> :-)

:-(

-- 
Prius I, Pontiff, Schenectadian Catholic Church

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2015-12-04 23:13 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-04  7:15 fsck memory leak U.Mutlu
2015-12-04  7:49 ` U.Mutlu
2015-12-04 10:21   ` Karel Zak
2015-12-04 18:00     ` U.Mutlu
2015-12-04 15:19 ` Theodore Ts'o
2015-12-04 17:53   ` U.Mutlu
2015-12-04 19:09     ` U.Mutlu
2015-12-04 19:58     ` Theodore Ts'o
2015-12-04 20:31       ` U.Mutlu
2015-12-04 21:40         ` Ruediger Meier
2015-12-04 22:26           ` U.Mutlu
2015-12-04 22:03         ` Mike Frysinger
2015-12-04 22:17         ` Theodore Ts'o
2015-12-04 22:01       ` Mike Frysinger
  -- strict thread matches above, loose matches on Subject: below --
2015-12-04 23:08 Dave Rutherford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox