Yahoo Groups archive

Milter-greylist

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

Message

RE: [milter-greylist] milter-greylist-2.0.2 crash

2006-02-02 by attila.bruncsak@itu.int

> > Could you try to limit the number of available file 
> descriptors to 254
> > as a workaround?
> 
> And what should happen? We will just get errors when sendmail will try
> to communicate with milter which reached descriptors limit. Tha same
> problem we will have with creating db file for dumping memory to disk.

The OS may not give smallest available file descriptor on open().
It is possible that it only wraps around when reaches "nofiles" limit.
It is very likely the case that you are not short of file descriptors,
just got one which is bigger than 254.
If you limit it to 254, the OS may wrap around on that value and gives
the smallest free one not conflicting with the stdio implementation.

> 
> > Please use the vanilla code of milter-greylist-2.0.2 to test with,
> > of course if you have time and interested in the test.
> 
> Pardon, explain please, what is "vanilla code"?
> 
non-patched version

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.