[Mimedefang] multiple CPUs, multiple milters!

Anne Bennett anne at encs.concordia.ca
Wed Sep 10 19:07:02 EDT 2003


With respect to how to shutdown all processes/threads of the
MIMEDefang milter, David responds to my query:

>> I'll experiment with how to shutdown the processes.
> 
> On my machine, stopping the "main" thread stops them all.  Other
> people have reported problems, but I have never been able to duplicate
> them.

More detail: SIGTERM to "the first one" (the one with the
lowest-numbered PID, which appears in the pidfile) is ineffective:
none of them die.  SIGTERM to "the last one" (the one with the
highest-numbered PID) kills them all.  Weird!

Anyway, I've changed my boot start/stop script to

    su $MX_USER -c "pkill -U $MX_USER -x mimedefang"

at that point, and all's well.  (The "su" is just my paranoid
preference; none of those operations should need root privilege, so I
protect my system from inevitable programming mistakes.)

Thanks for your help!


Anne.
-- 
Ms. Anne Bennett, Senior Sysadmin, ENCS, Concordia University, Montreal H3G 1M8
anne at encs.concordia.ca                                    +1 514 848-2424 x2285



More information about the MIMEDefang mailing list