[Mimedefang] multiple CPUs, multiple milters!

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Mon Sep 8 14:53:43 EDT 2003


Hi!

> > The hyperthreading is both normal and irrelevant I believe.  The 
> > number of child processes started most likely has more to 
> do with the 
> > default to start.
> 
> You're thinking of the configurable number of slaves in the 
> multiplexor, I believe.  I'm referring to the milter process:
> 
> >> But... when I start up mimedefang (the milter process), I 
> get four of them!  The PID in the pidfile is that of the first one 
> (lowest PID).
> 
> By the way, I've been running this type of set-up for some 
> time, but always under Tru64Unix (including multi-processor 
> machines) in the past. I do *not* get multiple milters in 
> that context.  This is my first installation using *Linux* on 
> a multi-processor machine.

This has nothing to do with your multiprocess environment. My server is a
simple 1 CPU machine running Redhat and I have:

$ ps axuwwww | grep mimedefang
defang   20893  0.0  0.1  1628  676 ?        S    Sep05   0:00
[mimedefang-mult]
defang   20905  0.0  3.7 30564 18964 ?       S    Sep05   0:49 /usr/bin/perl
-w /usr/bin/mimedefang.pl -server
defang   20907  0.0  0.1 10020  780 ?        S    Sep05   0:00 [mimedefang]
defang   20910  0.0  0.1 10020  780 ?        S    Sep05   0:00 [mimedefang]
defang   20911  0.0  0.1 10020  780 ?        S    Sep05   0:00 [mimedefang]
defang   20951  0.0  0.3 23208 1556 ?        S    Sep05   0:01 /usr/bin/perl
-w /usr/bin/mimedefang.pl -server
root     11150  0.0  0.1  1868  692 pts/9    S    20:47   0:00 grep
mimedefang

 $ cat /var/run/mimedefang.pid 
20907

$ cat /var/run/mimedefang-multiplexor.pid 
20893

So what? Using the init script to stop the processes all is fine.

Alexander


-- 
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416  14CD E197 6E88 ED69 5653




More information about the MIMEDefang mailing list