Yahoo Groups archive

Milter-greylist

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

Message

Solaris crash on db dump (FIXED!)

2007-09-05 by Jeff A. Earickson

>> Jeff A. Earickson <jaearick@...> wrote:
>> 
>>> I now get this with 4.0b1:
>>>
>>>     cannot write dumpfile "/var/milter-greylist/greylist.db-XXn4aOmb":
>>>     Error 0
>> 
>> Hum... errno was not set after a failed fdopen? Any Solaris expert that
>> could explain what is going on?
>> 
>> Many Solaris users have trouble with this stupid libc limitation. There
>> are two ways of fixing that:
>> 1) build a 64 bit binary
>> 2) Give a try to Johann E. Klasek's patch, which I should integrate just
>> after 4.0 is released:
>> http://jk.kom.tuwien.ac.at/~jklasek/software/milter-greylist/
>> mg.stdio-solaris.patch
>> 
>
> Sun has now released a "patch" for this issue. See 
> <http://developers.sun.com/solaris/articles/stdio_256.html> for details   and 
> possible solutions.
> -- 
> Matthieu Herrb
>

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.

Jeff Earickson
Colby College

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.