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

Martin Bene martin.bene at icomedias.com
Fri Oct 24 02:59:30 EDT 2003


Hi dave,

>> Don't you have any plan to reduce the memory use of 
>> slaves? Maybe

Dumb question here: currently, the multiplexor forks/execs each slave process
seperately, i.e there's little shared memory between the slaves.

multiplexor
  \
   +perl slave1
   +perl slave2
   +perl slave3

Could this be improved by starting just one perl process directly from the
multiplexor, fully initialize it (including ss/razor whatnot startup) and
then fork off the actual worker slaves from that?

multiplexor
  \
   +perl slave 
      \
       +perl slave1
       +perl slave2
       +perl slave3

If I understand how fork works, this should improve the amount of memory that
can be shared between slave processess and thus reduce the amount of actual
memory needed for multiple slaves.

Also it would obviously make multiplexor/slave communications and process
setup more complicated; no idea if the possible gains would be worth it.

Bye, Martin




More information about the MIMEDefang mailing list