Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] Fixing Solaris troubles

2007-09-27 by manu@netbsd.org

Johann Klasek <johann@...> wrote:

>   - Up to Solaris 9 the default file descriptor limit is set to 256. As
>       long this is not increased the basic libc stdio file handle
>       problem does not come into play. Milter-greylist will just exit
>       because the file *descriptor* limit hits. This rapidly happens
>       on higher request rates (spam attack) when concurrent sessions
>       are going to lift up.
>       In low traffic environments this will not happen often.

Ok, so this problem is just popping up now because of traffic raise? If
that's the case, then people using older releases of milter-greylist
should have been burnt too, and if they have not yet, then it means they
can safely upgrade, right?

Do I understand the problem correctly: when you hit this Solaris
limitation, fopen/fdopen fails, returning NULL with errno == 0, right?

A simple way of fixing the issue would just be to issue a TEMPFAIL in
this situation, which would reflect the real problem: your system cannot
function proprely because of resource exhaustion, and the sender should
retry later.

Of course, if there is a file descriptor leak in milter-greylist, we are
screwed, because you won't ever be able to cope with the situation. But
nobody reported that kind of problem so far.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

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.