Yahoo Groups archive

Milter-greylist

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

Message

RE: [milter-greylist] Volume 2

2004-10-28 by Sutherland, James

This is an interesting article I found on sunhelp about somebody else
having the same issue:
 
http://www.sunhelp.org/pipermail/sunhelp/2002-January/015005.html
 

________________________________

From: Matthias Scheler [mailto:tron@...] 
Sent: Thursday, October 28, 2004 1:17 PM
To: milter-greylist@yahoogroups.com
Subject: Re: [milter-greylist] Volume 2


On Thu, Oct 28, 2004 at 09:30:15AM +0200, Emmanuel Dreyfus wrote:
> So your OS was not able to open that file, but doesn't tell us why
> (errno says no error occured).

I couldn't open that file because you a passed file number larger than
255.
From Solaris's stdio(3C) manual page:

     The integer constant FOPEN_MAX specifies the minimum  number
     of  files  that  the  implementation  guarantees can be open
     simultaneously. Note that no more  than  255  files  may  be
     opened  using  fopen(),  and only file descriptors 0 through
     255 can be used in a stream.

That historic restricion does however only apply to 32Bit binaries.
The work arround is to use dup2(3C) to get a small file descriptor
number. But it will of course be difficult to find one which is
not occupied.

BTW: I wonder why Milter Greylist has so many file descriptors open at
the
     same time. How many does it require to handle a single connection?

      Kind regards

-- 
Matthias Scheler
http://scheler.de/~matthias/


Yahoo! Groups Sponsor	
 
<http://us.ard.yahoo.com/SIG=12911i8ko/M=281955.5530326.6602771.3001176/
D=groups/S=1707281942:HM/EXP=1099081043/A=2343726/R=0/SIG=12i0jiuvm/*htt
p://clk.atdmt.com/VON/go/yhxxxvon01900091von/direct/01/&time=10989946431
86431>
<http://us.ard.yahoo.com/SIG=12911i8ko/M=281955.5530326.6602771.3001176/
D=groups/S=1707281942:HM/EXP=1099081043/A=2343726/R=1/SIG=12i0jiuvm/*htt
p://clk.atdmt.com/VON/go/yhxxxvon01900091von/direct/01/&time=10989946431
86431> 

Get unlimited calls to

U.S./Canada

 
<http://view.atdmt.com/VON/view/yhxxxvon01900091von/direct/01/&time=1098
994643186431> 
 
<http://us.adserver.yahoo.com/l?M=281955.5530326.6602771.3001176/D=group
s/S=:HM/A=2343726/rand=568887095> 	

________________________________

Yahoo! Groups Links


*	To visit your group on the web, go to:
	http://groups.yahoo.com/group/milter-greylist/
	  
*	To unsubscribe from this group, send an email to:
	milter-greylist-unsubscribe@yahoogroups.com
<mailto:milter-greylist-unsubscribe@yahoogroups.com?subject=Unsubscribe>

	  
*	Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> .

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.