Qmail
[Top] [All Lists]

Re: qmail-send stop/start problems

To: John Simpson <jms1@jms1.net>
Subject: Re: qmail-send stop/start problems
From: Rejaine Monteiro <rejaine@bhz.jamef.com.br>
Date: Mon, 29 Jan 2007 14:01:30 -0200
Cc: Qmail mailing list <qmail@list.cr.yp.to>
Delivered-to: sp-com-lists@consult.net
Delivered-to: gmail-qmail@securepoint.com
Delivered-to: sp.com.list@gmail.com
Delivered-to: mailing list qmail@list.cr.yp.to
In-reply-to: <27425D5B-369B-4277-81A2-A8B415F5EC74@jms1.net>
Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm
References: <45BA138F.1080603@bhz.jamef.com.br> <27425D5B-369B-4277-81A2-A8B415F5EC74@jms1.net>
User-agent: Thunderbird 2.0b2 (X11/20070116)

John Simpson escreveu:
On 2007-01-26, at 0943, Rejaine Monteiro wrote:

if you have a situation where you absolutely must stop qmail-send immediately, you should follow your "svc -d" command with something like "killall qmail-remote ; killall qmail-local ; sleep 5".
I tried to do this, but get the same error...

Stop qmail-send
#svc -d /service/qmail-send /service/qmail-send/log

After 10 seconds, I kill all qmail-remote and qmail-local process:
#killall qmail-remote ; killall qmail-local ; sleep 5
qmail-local: no process killed

svstat shows qmail-send appears to be down:
#svstat /service/qmail-send
/service/qmail-send: down 54 seconds, normally up

#But qmail-send continues running (and delivery messages):
#ps -ef | grep qmail-send
root      8181  8172  0 16:40 ?        00:00:00 supervise qmail-send
root      8187     1  0 16:40 ?        00:00:00 qmail-send
root     13287 11081  0 16:50 pts/0    00:00:00 grep qmail-send


8172 PID =  8172  8170  0 16:40 ?        00:00:00 svscan /service
8170 PID = 8170 1 0 16:40 ? 00:00:00 /bin/sh /command/svscanboot


The only way I see to stop definitively qmail-being is commenting SVSCAN line in /etc/inittab, run "init q" and later commenting out and run "init q" again to re-start all process...

<Prev in Thread] Current Thread [Next in Thread>