spamassassin-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From RW <rwmailli...@googlemail.com>
Subject Re: user-db size, excess growth...limits ignored
Date Wed, 01 Apr 2009 22:02:10 GMT
On Wed, 01 Apr 2009 12:27:22 -0700
Linda Walsh <sa-user@tlinx.org> wrote:

> 01234567890123456789012345678901234567890123456789012345678901234567890123456789
> Matt Kettler wrote:

> >>  How often does the whitelist get sync'd to disk?
> > In the case of the whitelist, it's per-message.
> -----
> 	*ouch* -- you mean each message writes out an 80MB white-list
> file? That's alot of I/O per message, no wonder spamd seems to be
> slowing down...

I think it's fairly safe to assume that the Berkeley DB libraries were
not written by people who dropped-out in the second week of
C-programming 101, and never learned any more sophisticated way of
accessing a database file than reading it in and then writing it out. 

http://en.wikipedia.org/wiki/Berkeley_DB

http://en.wikipedia.org/wiki/Mmap

Mime
View raw message