On Wed, 05 May 1999 13:23:48 -0700, Mark Delany wrote:
>so, they run to completion as far as smtp is concerned, but nothing changes
>the queue entries.
Thanks for confirming this! This means that a cleaner shutdown might be
to kill all qmail-remote[/local] as well as qmail-send.
Yes, for a regular shutdown you have only 30s. But if you do a regular
shutdown in the middle of a list delivery with a concurrency of 200,
you get a lot of duplications (a significant majority of the 200 will
complete within 30 s). In my case it was a manual shutdown of only
qmail-send.
AFAIK, there is no penalty for killing qmail-remotes, other than a
deferral. If killing is very close in time, there is little chance for
a completion. If qmail-send is killed first, there is no way for it to
start new qmail-remotes.
So would:
killall qmail-send qmail-remote qmail-local
be a more correct way of doing it?
Would it be more correct for qmail-send to kill it's children upon
receiving sigterm?
Thanks!
-Sincerely, Fred
(Frederik Lindberg, Infectious Diseases, WashU, St. Louis, MO, USA)