From owner-freebsd-fs@FreeBSD.ORG Fri Oct 15 18:02:46 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8A361065672 for ; Fri, 15 Oct 2010 18:02:46 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 489A18FC15 for ; Fri, 15 Oct 2010 18:02:46 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P6oc6-0007Cf-TV for freebsd-fs@freebsd.org; Fri, 15 Oct 2010 20:02:42 +0200 Received: from cpe-24-210-63-182.columbus.res.rr.com ([24.210.63.182]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 Oct 2010 20:02:42 +0200 Received: from dsamms by cpe-24-210-63-182.columbus.res.rr.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 Oct 2010 20:02:42 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-fs@freebsd.org From: David Samms Date: Fri, 15 Oct 2010 14:02:27 -0400 Lines: 38 Message-ID: References: <201010151756.o9FHuWZ8061790@lurza.secnetix.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cpe-24-210-63-182.columbus.res.rr.com User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.10) Gecko/20100630 Thunderbird/3.0.5 In-Reply-To: <201010151756.o9FHuWZ8061790@lurza.secnetix.de> Subject: Re: ZFS trouble: unbelievably large files created X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Oct 2010 18:02:46 -0000 On 10/15/10 13:56, Oliver Fromme wrote: > David Samms wrote: > > I am running into issues with ZFS where perl, specifically amavisd > > running spamassassin creates unbelievably large files, as in files 100x > > the size of the hard disk. > > [...] > > ls -l .spamassassin > > total 13352131 > > -rw------- 1 vscan vscan 684032 Oct 15 12:02 auto-whitelist > > -rw------- 1 vscan vscan 40 Oct 15 12:37 bayes.lock > > -rw------- 1 vscan vscan 1294336 Oct 15 12:38 bayes_seen > > -rw------- 1 vscan vscan 4227072 Oct 15 12:38 bayes_toks > > -rw------- 1 vscan vscan 553184002048 Oct 15 12:38 > > bayes_toks.expire3515 > > -rw------- 1 vscan vscan 140743122878464 Oct 15 12:14 > > bayes_toks.expire97254 > > > > The last file is 140TB which is pretty good sized for a 1TB disk. Disk > > compression is OFF. du -hs reports 13G int the .spamassassin directory. > > What does "ls -kls" report on those files? > > Best regards > Oliver > From out side the jail.... ls -kls shawxp/var/amavis/.spamBAD total 13352131 771 -rw------- 1 110 110 684032 Oct 15 12:02 auto-whitelist 1 -rw------- 1 110 110 40 Oct 15 12:37 bayes.lock 1284 -rw------- 1 110 110 1294336 Oct 15 12:38 bayes_seen 4229 -rw------- 1 110 110 4227072 Oct 15 12:38 bayes_toks 5025103 -rw------- 1 110 110 553184002048 Oct 15 12:38 bayes_toks.expire3515 8320745 -rw------- 1 110 110 140743122878464 Oct 15 12:14 bayes_toks.expire97254