I have the same problem, so here is what I do (although it is not good)
I do qmailctl stop
then qmailctl stat and get the pid of qmail-send
do a kill pid-of-qmail-send
this way qmail is stopped, to start it again just qmailctl start

Syed Qutubuddin Ahmad wrote:

>Hello,
>
>  I am using qmail-1.03 with ldap patch 20020801. I start/stop qmail using
>ucsp-0.88, daemontools-0.76. Redhat 7.2.
>
>  The problem is that , when i stop qmail (qmailctl stop), sometimes qmail-
>todo process and qmail-clean process hangs. I mean when i run 'ps aux' ,it
>shows
>
>qmails   24894  0.0  0.0  1408  352 ?        Z    Aug23   0:26 [qmail-
>todo<defunct>]
>qmailq   24895  0.0  0.0  1384  328 ?        Z    Aug23   0:06 [qmail-
>clean<defunct>}
>
>but when i start qmail , status remains the same. although smtpd starts
>working and getting the mails. but the mails are not processed.
>And these processes never recover. I tried to kill these two processes
>manually, but couldn't. these don't die away. And i am left with no other
>option except to just reboot the machine.
>Infact (qmailctl stop  == svc -d /service/qmail-send)(same for qmail-smtpd)
>and (qmailctl start == svc -u /service/qmail-send)
>
>Any help please... this is my second mail :(((
>I just don't want to reboot my mail server everytime i need to do some
>maintenance work. e.g. queue management etc. :(
>
>
>  
>

-- 
Taymour A El Erian
System Division Manager
T.E. Data
E-mail: [EMAIL PROTECTED]
Web:    www.tedata.net
Tel:    +(202)-7494025
Ext:    1101



Reply via email to