tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: perl 5.22, spamassassin and .db



On Tue, Nov 17, 2015 at 12:58:58PM +0100, Manuel Bouyer wrote:
> I investigated this, and it seems very subtle.
> I tested on 2 amd64 hosts, one on bare metal and the second one being a
> Xen domU. Both hosts have the exact same userland version (I even checked the
> libc md5 to make sure, reinstalled perl and spamassassin from the
> 2015Q3 same repo). feeding a mailbox with 22 messages to spamassassin will
> reproduce the problem on the bare-metal host but not on the Xen host.
> 
> On the Xen host, I consistenly get a bayes_toks file with size 65536.
> On the bare-metal host, each run gives a different size:
> 322174976, 321978368, 322109440.
> 
> Any idea on how to debug this further is welcome.

More data: on the bare-metal host, $HOME is a separate (/home) filesystem.
If I move the home directory to /usr, the problem dissapear.

/dev/raid2h on /usr type ffs (nodev, local)
/dev/raid2i on /home type ffs (local, with quotas)

file system: /dev/rraid2h
format  FFSv1
endian  little-endian
magic   11954           time    Tue Nov 17 13:34:35 2015
superblock location     8192    id      [ 55b20a4d 5dbaab7e ]
cylgrp  dynamic inodes  4.4BSD  sblock  FFSv2   fslevel 4
nbfree  437303  ndir    26769   nifree  874023  nffree  4347
ncg     45      size    4194304 blocks  4128775
bsize   16384   shift   14      mask    0xffffc000
fsize   2048    shift   11      mask    0xfffff800

file system: /dev/rraid2i
format  FFSv1
endian  little-endian
magic   11954           time    Tue Nov 17 13:35:32 2015
superblock location     8192    id      [ 55b20aec 336faf75 ]
cylgrp  dynamic inodes  4.4BSD  sblock  FFSv2   fslevel 4
nbfree  3053800 ndir    118108  nifree  56995230        nffree  9159
ncg     569     size    237865216       blocks  236927494
bsize   65536   shift   16      mask    0xffff0000
fsize   8192    shift   13      mask    0xffffe000

so maybe the large bsize/fsize is the problem ?

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index