Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] milter-greylist stopped writing log file

2016-02-22 by Bob Friesenhahn

On Mon, 22 Feb 2016, manu@... [milter-greylist] wrote:

> Bob Friesenhahn bfriesen@... [milter-greylist]
> <milter-greylist@yahoogroups.com> wrote:
>
>> MAXFILES=8000 # Maximum number of open files
>
> If I recall correctly, the stream limitation on Solaris is not a probem
> with open file descriptors. This is why an option to book low numbered
> file descriptors was contributed. If it was as simple as using ulimit
> -n, we would not need it.

The Solaris problem is that the stdio FILE structure only uses 8 bits 
to store the file descriptor.  However, these shell commands:

   LD_PRELOAD_32=/usr/lib/extendedFILE.so.1
   export LD_PRELOAD_32

preloads a module which updates the stdio implementation to use a 
different FILE member for the file descriptors, which is much larger.

Regardless, the same issue occurs with both the stdio-hack and 
without.  There are no other errors pertaining to file handles so I 
think that this issue must be specifically due to a bug in the log 
file re-opening code.

Bob
-- 
Bob Friesenhahn
bfriesen@..., http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

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.