From owner-freebsd-fs@FreeBSD.ORG Fri Oct 15 17:56:49 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 905C91065704 for ; Fri, 15 Oct 2010 17:56:49 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 108928FC17 for ; Fri, 15 Oct 2010 17:56:48 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id o9FHuWZ2061791; Fri, 15 Oct 2010 19:56:47 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id o9FHuWZ8061790; Fri, 15 Oct 2010 19:56:32 +0200 (CEST) (envelope-from olli) Date: Fri, 15 Oct 2010 19:56:32 +0200 (CEST) Message-Id: <201010151756.o9FHuWZ8061790@lurza.secnetix.de> From: Oliver Fromme To: freebsd-fs@FreeBSD.ORG, dsamms@nw-ds.com In-Reply-To: X-Newsgroups: list.freebsd-fs User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.5 (lurza.secnetix.de [127.0.0.1]); Fri, 15 Oct 2010 19:56:47 +0200 (CEST) Cc: Subject: Re: ZFS trouble: unbelievably large files created X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-fs@FreeBSD.ORG, dsamms@nw-ds.com List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Oct 2010 17:56:49 -0000 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 -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "Software gets slower faster than hardware gets faster." -- Niklaus Wirth