On Mon, Oct 06, 2008 at 07:49:56PM +0200, Jean-G?rard Pailloncy wrote:
> Hi,
>
> I have a mail server that suffers a strange size for /var/db/spamd.
>
> # ls -l /var/db/spamd
> -rw------- 1 _spamd _spamd 167657472 Oct 6 19:45 /var/db/spamd
> # spamdb | wc -l
> 16784
>
> 167 Mbytes for 16784 entries...
>
> The box is a little old: OpenBSD 4.1 (stable)
>
> Any solution ? appart upgrading (planned)
>
> JG
berkeley db files appear larger than they are: it uses sparse files.
Check with ls -S or du for the actual blocks used.
-Otto