From owner-freebsd-stable@FreeBSD.ORG Sun Jan 2 08:41:05 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2E7A106566B for ; Sun, 2 Jan 2011 08:41:05 +0000 (UTC) (envelope-from miyamoto.31b@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8C53A8FC17 for ; Sun, 2 Jan 2011 08:41:05 +0000 (UTC) Received: by wyf19 with SMTP id 19so12512223wyf.13 for ; Sun, 02 Jan 2011 00:41:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=89GJfG/7sEzQ5AwoAstgxILguDU9HCkI3ymr/X0lD7c=; b=VHpapk0g1YsXrhOayp9+k9sLTtkj7ZRR6I7+FIgDtla7PUkHDJ+ayv+Bm4Pp3rvoXp P6w+ZLndBytAJc2aN+Zv0LvEzVWJvip5hmXp7Fl+ZEeDjqipbKP5DuaoSGHBYoHGHs2J DiHPT8cUZpgzM05gXxJNt6iwiN79BpcRQhgy8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Duhwlqu2enJBIobmcphekiKyQf0qmEewkUAdvsvDly2wZZkLoGugn8bh4EET1fzLa0 H1aScCUfJiUWO8IuEHBpjk+UMPKhEGdEVePxRrGl+zk1ALjpge7cSelmvQxOlJRYfhvn +UaILPktRkc56KuFrmbELy/v6gStGUaLZPY+w= MIME-Version: 1.0 Received: by 10.227.144.13 with SMTP id x13mr10853402wbu.69.1293957664357; Sun, 02 Jan 2011 00:41:04 -0800 (PST) Received: by 10.227.13.143 with HTTP; Sun, 2 Jan 2011 00:41:04 -0800 (PST) Date: Sun, 2 Jan 2011 08:41:04 +0000 Message-ID: From: miyamoto moesasji To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: tmpfs runs out of space on 8.2pre-release, zfs related? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jan 2011 08:41:06 -0000 miyamoto moesasji gmail.com> writes: > > In setting up tmpfs (so not tmpmfs) on a machine that is using > zfs(v15, zfs v4) on 8.2prerelease I run out of space on the tmpfs when > copying a file of ~4.6 GB file from the zfs-filesystem to the memory > disk. This machine has 8GB of memory backed by swap on the harddisk, > so I expected the file to copy to memory without problems. > ....this is in fact worse than I first thought. After leaving the machine running overnight the tmpfs is reduced to a size of 4K, which shows that tmpfs is in fact completely unusable for me. See the output of df: --- hge@PulsarX4:~/ > df -hi /tmp Filesystem Size Used Avail Capacity iused ifree %iused Mounted on tmpfs 4.0K 4.0K 0B 100% 18 0 100% /tmp --- Relevant zfs-stats info: --- System Memory Statistics: Physical Memory: 8161.74M Kernel Memory: 4117.40M DATA: 99.29% 4088.07M TEXT: 0.71% 29.33M ARC Size: Current Size (arcsize): 63.58% 4370.60M Target Size (Adaptive, c): 100.00% 6874.44M Min Size (Hard Limit, c_min): 12.50% 859.31M Max Size (High Water, c_max): ~8:1 6874.44M --- I'm not sure what triggered this further reduction in size; but the above 4K size is probably important to show how dramatic this goes wrong.