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@...
Message
Re: [milter-greylist] Fixing Solaris troubles
2007-09-27 by manu@netbsd.org
Attachments
- No local attachments were found for this message.