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

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


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)?

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

More information about the freebsd-questions mailing list