Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] Solaris crash on db dump (FIXED!)

2007-09-05 by Richard Whelan

-------- Original Message --------
Subject: Re:[milter-greylist] Solaris crash on db dump (FIXED!)
From: shuttlebox <shuttlebox@...>
To: milter-greylist@yahoogroups.com
Date: 05/09/2007 13:56

> 
> 
> On 9/5/07, manu@... <mailto:manu%40netbsd.org> <manu@...
> <mailto:manu%40netbsd.org>> wrote:
>> Jeff A. Earickson <jaearick@... <mailto:jaearick%40colby.edu>>
> wrote:
>>
>> > I am happy to report that my changes to the 4.0b1 code that I submitted
>> > yesterday via makepatch have solved my issues with milter-greylist
>> > crashing at db dump time. Before the code change, it would crash at
>> > least a dozen times a day; it has not crashed once since yesterday's
>> > code change (15+ hours). Many thanks to Mr. Herrb for finding that
>> > Sun article.
>>
>> The change looks really minor, I wonder if this is safe for inclusion in
>> 4.0b2. Could the F flag be harmful to some Solaris setups? Or is the
>> Solaris situation so bad that nobody can get milter-greylist working
>> without that change?
>>
>> In the first case, we should probably make this available as a configure
>> option, disabled by default.
> 
> I for one would be very happy if you could include it in the next
> beta, especially if it's an option, then no harm will be done.
> 
> I can't get it to run reliably either, sometimes it runs for weeks and
> sometimes it crashes several times an hour.
> 

What actually happens at the point of writing the DB file ? Do you just
write the updates that have changed since the previous write, or dump
the whole DB everytime. The reason I'm asking,  is that I have also made
a small change, but only to my config file, reducing the dump frequency
from the default of 10m down to 3m. Since then, almost a week now, I
have not had the process crash on me once. Up until then, I was seeing
the process crash every 10 minutes for hours on end. It seems as though
it's potentially having to write less to the file.

This is still using version 3.0 on Solaris 9, not 10, and in a 32bit
environment.

Cheers,

Richard

-- 
Richard Whelan
Senior Systems & NMS Administrator

Pipex Communications

Tel:  +44 (0) 1865 381568
Mob:  +44 (0) 7786 276020
Web:  http://www.pipex.com

This e-mail is subject to: http://www.pipex.net/disclaimer.html

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.