Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] milter dying

2006-12-08 by Oliver Fromme

Joel Reicher wrote:
 > 
 > > We've implemented milter-greylist at our site last monday and a lot seems to
 > > be going well. Unfortunately, sometimes the milter dies when the machine
 > > seems to be on heavy load.
 > 
 > I'm getting the same problem.

That sounds like a resource problem.  Are you sure that
your milter-greylist process doesn't hit any resource
limits?  (i.e. data size, number of file descriptors etc.)

 > I haven't looked at it closely yet, but the presence of files like
 > -rw-------  1 smmsp  wheel      0 Dec  8 16:14 greylist.db-012920ab
 > created at the exact moment of the crash make me think it's the database
 > dump code that's doing it.

When milter-greylist terminates it tries to perform a
final dump of the database, but sometimes it fails under
certain conditions.  I think that's a known issue and
has nothing to do with your actual problem.

 > I've just set dumpfreq to 0 and turned off time translation, so let's
 > see if the problem gets better or worse. :)

I bet it'll still crash when it's running out of resources,
but then it won't try to dump the database.  :-)

Best regards
   Oliver

-- 
Oliver Fromme,  secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing
Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

$ dd if=/dev/urandom of=test.pl count=1
$ file test.pl
test.pl: perl script text executable

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.