On Don, 2013-03-07 at 12:14 -0500, David F. Skoll wrote: > On Thu, 7 Mar 2013 18:56:45 +0200 > Henrik K <h...@hege.li> wrote: > > > You provide no data how you end up with the 4MB etc. And MD is not > > SA, it might do all sorts of funky stuff. > > I wrote MD, so I'm pretty sure it's not doing any funky stuff.
MD forks the worker process and the worker process initializes libperl and loads the perl script. To share more memory on a fork, it should initialize libperl and load the perl script before forking off the worker processes. BTW switching to vfork() won't speed up anything significantly IMHO as processes are (re)started quite seldom - it is not that one starts a process for each mail ..... Bernd -- Bernd Petrovitsch Email : be...@petrovitsch.priv.at LUGA : http://www.luga.at