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

Jasper Aukes wrote:
 > Hi Oliver,
 > > > > 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.)
 > 
 > The only limits that are set are these two:
 > 
 > descriptors  1024
 > stacksize    8192 kbytes
 > 
 > Should I increase some numbers here? (Not sure how to debug this)

The stacksize shouldn't be a problem, but the descriptors
might be.  You can use a tool like lsof to check how many
descriptors are currently in use.  If the number approaches
your limit during times of heavy load, then you should
definitely increase it.

(Of course, if milter-greylist crashes in such a situation,
then that's a bug.  It should handle the situation more
gracefully.  But maybe sendmail's milter API makes that
difficult, I don't know.)

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.

"We, the unwilling, led by the unknowing,
are doing the impossible for the ungrateful.
We have done so much, for so long, with so little,
we are now qualified to do anything with nothing."
\ufffd \ufffd \ufffd \ufffd -- Mother Teresa

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.