ZFS trouble: unbelievably large files created

David Samms dsamms at nw-ds.com
Fri Oct 15 18:02:46 UTC 2010


On 10/15/10 13:56, Oliver Fromme wrote:
> David Samms<dsamms at nw-ds.com>  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



More information about the freebsd-fs mailing list