restore(8) && used memory not freed-up

Matthias Apitz guru at unixarea.de
Fri Jan 24 10:49:57 UTC 2014


Hello,

I was restoring some files which I removed while updating from KDE3 to
KDE4 and encountered the following interesting problem:

# mount -o ro /dev/da1s1a /mnt
# cd /tmp
# restore -x -f /mnt/Tiny/dumpsTiny-20131025/usrLocal.dmp ./guru/.kde/share/apps/knode

after the restore was finished(!) the memory in top was shown as:

Mem: 535M Active, 1136M Inact, 270M Wired, 28M Cache, 90M Buf, 14M Free

only the unmount of the device freed-up the memory:

# umount /mnt

Mem: 535M Active, 46M Inact, 192M Wired, 8104K Cache, 90M Buf, 1203M Free

Why is the memory reserved by the system (10-CURRENT, i386)?
Thanks

	matthias
-- 
Matthias Apitz               |  /"\ ASCII Ribbon Campaign: www.asciiribbon.org
E-mail: guru at unixarea.de     |  \ / - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X  - No proprietary attachments
phone: +49-170-4527211       |  / \ - Respect for open standards


More information about the freebsd-questions mailing list