Another option would be to spawn a child process to write the db dump. Since each pid is limited. ________________________________ From: Emmanuel Dreyfus [mailto:manu@...] Sent: Friday, October 29, 2004 1:08 AM To: milter-greylist@yahoogroups.com Subject: Re: [milter-greylist] Volume 2 On Thu, Oct 28, 2004 at 10:17:03PM +0200, Matthias Scheler wrote: > 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. Okay... I guess we could book a low file descriptor for dumping the database. Something stored in a static. The problem is that we'll need to do the same thing for MX sync, which uses a number of file descriptor which depends on the number of MX peers. But as I understood, building a 64 bit binary automagically fixes everything... -- Emmanuel Dreyfus manu@... Yahoo! Groups Sponsor <http://us.ard.yahoo.com/SIG=1297egjff/M=281955.5530326.6602771.3001176/ D=groups/S=1707281942:HM/EXP=1099123701/A=2343726/R=0/SIG=12ihitl4m/*htt p://clk.atdmt.com/VON/go/yhxxxvon01900091von/direct/01/&time=10990373014 06077> <http://us.ard.yahoo.com/SIG=1297egjff/M=281955.5530326.6602771.3001176/ D=groups/S=1707281942:HM/EXP=1099123701/A=2343726/R=1/SIG=12ihitl4m/*htt p://clk.atdmt.com/VON/go/yhxxxvon01900091von/direct/01/&time=10990373014 06077> Get unlimited calls to U.S./Canada <http://view.atdmt.com/VON/view/yhxxxvon01900091von/direct/01/&time=1099 037301406077> <http://us.adserver.yahoo.com/l?M=281955.5530326.6602771.3001176/D=group s/S=:HM/A=2343726/rand=881399884> ________________________________ 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/> .
Message
RE: [milter-greylist] Volume 2
2004-10-29 by Sutherland, James
Attachments
- No local attachments were found for this message.