[Mimedefang] Re: config for big servers-- problem found

David F. Skoll dfs at roaringpenguin.com
Wed Dec 7 07:20:59 EST 2005


Nick wrote:

> Hey - We found something similar running mimedefang 2.52 on Solaris 9 with 
> everything buit 64bit. It turned out that the filenames that our quarantine 
> function generates were not all that random - each of the worker processes 
> appeared to be generating the same list of temporary file names & eventually 
> it all ground to a halt.

> Just adding a call to srand() at the start of sub filter appears to
> have fixed this -

Highly unlikely.  Look at the get_quarantine_dir subroutine.  No use of rand()
or tempfile() in there at all.

--
David.


More information about the MIMEDefang mailing list