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-07-27 by Eugene Filatov

On Thu, 27 Jul 2006, Oliver Fromme wrote:

>  > Perhaps we could figure a way of booking a FILE *?
> Sorry I don't remember exactly what the actual problem is,
> but ...

The problem is in low limit number of file pointers
you can have on Solaris (x86, 32Bit). It's 256.

> Shouldn't it be sufficient to open() the dump file right
> from the start and never close() it?  Only always write to
> it, then fsync()+lseek(0).  (And fflush()+rewind() if stdio
> functions are used to write the file.)

I like this idea. I can try to realize it.
I'm quite weak in C programming, but I can try :-)

Best Regards, 					mailto:eugenef@...
	Eugene.

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.