* Wietse Venema <wie...@porcupine.org>:
> I'm burning in some new code that I wrote over the past week to
> periodically remove old entries from postscreen(8) and verify(8)
> caches. This is not a sexy topic, but it helps to keep database
> sizes in check, it speeds up database access, and it was time.
> 
> If you're courageous you can try postfix-2.7-20091227-nonprod.  If

I had some problems integrating the Debian patches which support
dynamic loading of map types (worse, I don't even understand why), so
I went for a traditional compile and install.

It's working as expected, I didn't see any adverse side effects so
far. OTOH, the servers where I deployed the code have almost no real
workload at this time between the years, possibly rendering my
observations flawed.

What kind of data could we provide to help you with this?


Stefan

> you have used postscreen(8) or verify(8) before, you will notice
> that they weed out lots and lots of expired entries from the
> databases while reporting their progress along the way.
> 
> The cache cleaning code runs while a postscreen(8) or verify(8)
> process is waiting for real work. Cache cleaning suspends when the
> process does no real work for $max_idle seconds, and resumes when
> there is a request for postscreen(8) or verify(8) service.  After
> a cache cleanup run is completed, no cleanup happens for 12 hours.
> 
> Right now, cache cleaning cannot be disabled, so the postscreen(8)
> or verify(8) cache databases MUST support the "delete" and "sequence"
> operations. For backwards compatibility sake I may add a non-cleaning
> option but it won't be the default setting.
> 
>       Wietse

Reply via email to