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-21 by Bob Friesenhahn

Yesterday I rebuilt milter-greylist 4.5.16 without --enable-stdio-hack 
and started it with a script which starts like:

MAXFILES=8000 # Maximum number of open files
# Large number of open files solution
# 
http://www.oracle.com/technetwork/server-storage/solaris10/stdio-256-136698.html
LD_PRELOAD_32=/usr/lib/extendedFILE.so.1
export LD_PRELOAD_32
ulimit -n $MAXFILES

This should allow milter-greylist to be able to open 8000 files, which 
seems like plenty to me.

Today I updated greylist.conf and observed the same problem occuring 
except that first it reported that it was out of stdio streams, and 
then it reported that it reloaded the config file:

Feb 21 14:16:09 smtp milter-greylist: [ID 594051 mail.info] reloading 
config file "/etc/mail/greylist.conf"
Feb 21 14:16:09 smtp milter-greylist: [ID 975932 mail.warning] cannot 
open ">>/var/milter-greylist/greylist.log" at line 15: out of stdio 
streams
Feb 21 14:16:09 smtp milter-greylist: [ID 994696 mail.info] reloaded 
config file "/etc/mail/greylist.conf" in 0.010098s

A little while after this I observed milter-greylist start logging in 
verbose mode even though verbose was not enabled in the configuration 
file.

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.