[milters] Archive

Lists Index Date Thread Search

Article: 1306
From: Michael Elliott
Date: 2006-11-30 04:13:24 -0500
Subject: Re: milter-gris still blacklisting the same tripel for > 2 days

Removal...........: milters-request@milter.info?subject=remove
More information..: http://www.milter.info/#Support
--------------------------------------------------------

> Removal...........: milters-request@milter.info?subject=remove
> More information..: http://www.milter.info/#Support
> --------------------------------------------------------
> 
> Mathias Koerber said the following on 30/11/2006 9:16:
> 
> so I turned on debugging, and I removed the old /var/cache/milter-gris.db
> and restarted milter-gris.
> 
> I don't see it updating the file. The file gets created and has the correct
> permissions, but
> 
> > ]# ls -lat
> > total 2108
> > -rw-r-----   1 milter milter   12288 Nov 30 15:36 milter-gris.db
> > drwxr-xr-x   9 root   root      4096 Nov 30 15:36 .
> > drwxr-xr-x  34 root   root      4096 Oct 16 12:05 ..
> 
> > # /usr/local/bin/milter-cachedump.pl milter-gris.db
> > Last Connected  Status     # Email Key
> > --------------- -------- --- -------------------------------------------------
> 
> > # date
> > Thu Nov 30 15:52:09 SGT 2006
> 
> Does it only flush the database out very infrequently?

Yes.
# Cache garbadge collection frequency.
cache-gc-frequency=250

has part to do with it I think.  I generally see it do its first flush at about 
100 messages processed.  I haven't looked at the code deep enough to know what 
the triggers are.

-Mike Elliott


Lists Index Date Thread Search