[TriLUG] Re: sendmail restarting after being stopped

Jon Carnes jonc at nc.rr.com
Fri Apr 25 17:04:56 EDT 2003


Nobody implements the Sendmail Stop so that it *actually* stops all the
sub-processes.  This is probably your problem.

In my class on Sendmail I always tell folks to do a "ps aux |grep send"
right after issuing the "/etc/rc.d/init.d/sendmail stop".  You can then
kill off each of the sub-processes.  Otherwise, you have to wait for
them to die off on their own, which can take ten minutes.

Jon Carnes

On Fri, 2003-04-25 at 15:29, Morbus Iff wrote:
>  >i occasionally have to shut sendmail down for an interval while
>  >frobbing some mail files.  unfortunately, there seems to be something
>  >that silently restarts it unpredictably.  it's a real pita.  i
>  >haven't figured out what's doing it (rh 7.2), but i've had to resort
>  >to renaming the sendmail binary to keep it from possibly coming back
> 
> How are you actually shutting down sendmail? On SuSE 7.1, I have to issue 
> the "/etc/rc.d/sendmail stop" command about five or six times before it 
> actually kills all the processes.
> 




More information about the TriLUG mailing list