> From: Theo Van Dinter [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 20, 2004 7:52 PM
>
> I was thinking about this idea this morning. Instead of fork()ing off
> a process per incoming message, what if we initially fork()ed off -m
> spamd processes, and in the same way we do mass-check w/ multiple procs,
> we call out to the children as work requests come in?
>
Isn't there a kind of belt-and-suspenders justification for restarting
each sub-process (via fork) - that memory leaks may develop, and by
restarting, their effect is reduced.
> I'd think about threading, but not all perls are thread-capable (most?)...
I've read that Perl threads have a lot of overhead, if the application that
starts them has a lot of memory state (which spamd does).