From owner-freebsd-questions@FreeBSD.ORG Fri Jan 24 10:49:57 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1FE09F5F for ; Fri, 24 Jan 2014 10:49:57 +0000 (UTC) Received: from sh4-5.1blu.de (sh4-5.1blu.de [178.254.11.41]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D99C61F95 for ; Fri, 24 Jan 2014 10:49:56 +0000 (UTC) Received: from ftp51246-2575596 by sh4-5.1blu.de with local (Exim 4.76) (envelope-from ) id 1W6e3V-0008Ic-Hh for freebsd-questions@freebsd.org; Fri, 24 Jan 2014 11:32:09 +0100 Date: Fri, 24 Jan 2014 11:32:09 +0100 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: restore(8) && used memory not freed-up Message-ID: <20140124103209.GA30885@sh4-5.1blu.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 7.0-RELEASE (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2014 10:49:57 -0000 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@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