[Mimedefang] Embedding Perl in Multiplexor -- good idea?

scuba at centroin.com.br scuba at centroin.com.br
Thu Oct 23 17:50:37 EDT 2003


Hi David,

	Don't you have any plan to reduce the memory use of slaves? Maybe
transcripting  mimedefang.pl to "C" ?
	Nowadays i'd link to be able to start more slaves at the same time
not seeing the processes swaping out.

Just a thought anyway.

On Wed, 22 Oct 2003, David F. Skoll wrote:

|Currently, the multiplexor has a function called activateSlave which
|(more-or-less) does a fork(), some fooling around with pipes, and
|then an exec() of "perl mimedefang.pl"
|
|Another option is to embed the Perl interpreter directly in the
|multiplexor so all the initialization is done _once_.  Then
|activateSlave() only needs to do the fork() and pipe-manipulation.
|
|The downside is that if you change your filter, you have to kill and
|restart the multiplexor, instead of just telling it to terminate and
|restart slaves at its earliest convenience.
|
|Good idea?  Pros?  Cons?  Will it make enough of a difference seeing as
|we already amortize Perl startup costs over a few hundred messages?
|
|--
|David.
|_______________________________________________
|MIMEDefang mailing list
|MIMEDefang at lists.roaringpenguin.com
|http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
|


- Marcelo




More information about the MIMEDefang mailing list