Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] died because of too many open files

2008-11-08 by Petar Bogdanovic

On Sat, Nov 08, 2008 at 07:03:14PM +0100, manu@... wrote:
> Petar Bogdanovic <petar@...> wrote:
> 
> > a few hours ago milter-greylist died on one of our servers:
> > 
> >       milter-greylist: spamd socket failed: Too many open files
> >       milter-greylist: ACL evaluation failure
> >       milter-greylist: mkstemp("/var/milter/mgrey.db-000098ss") failed:
> Too many open files
> > 
> > I raised the limits but I'd still like to know if milter-greylist is
> > really supposed to die in such a case?
> 
> milter-greylist is in the situation where the database cannot be dumped.
> Shall we ignore that?

If you let the daemon live he could recover as soon as some fds are
available again (the situation described above happened during a pretty
busy hour). It's a suboptimal configuration but the ability to dump the
database does not seem critical to me.


> > Also, I saw this after starting milter-greylist again: 
> >       milter-greylist: unknown token ":" line 19202, skipping 
> >       milter-greylist: dump error at line 19202: syntax error 
> (...)
> > The problem were some sender-addresses like `ab@cd@...'.
> 
> The dump file parser is more strict that the code that stores tuples, so
> some tuple are rejected on reload. This is harmless.

Ok, thanks.

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.