I discovered that if I issue the /etc/init.d/mailscanner stop command
while MailScanner is still autodetecting virus scanners (calling in turn
the helper scripts in /etc/MailScanner/wrappers), it correctly kills 3
running instances of MailScanner and no other one is spawned. But if I
wait until the autodetection ends, the script kills the 2 running
instances, but a new one is spawned as I showed in my first message, a new
instance that start-stop-daemon does not kill (I think it does not send
any signal to that process), but still keeps waiting for it to finish
(wich never happens, because there is no reason for it).

If I supress the autodetection of available virus scanners, by putting the
name of one of them (f-prot in my case) instead of "auto", and I run:
/etc/init.d/mailscanner start; sleep 5; /etc/init.d/mailscanner stop
the bug happens.
On the other hand,
/etc/init.d/mailscanner start; 5; /etc/init.d/mailscanner stop
does not cause the bug to happen.

So there is some time window between starting and stopping MailScanner
where the bug occurs.

Does any of this make any sense to you?

-- 
Herr Groucho

ID Jabber: [EMAIL PROTECTED]
Clave pública GPG: hkp://pks.lugmen.org.ar
Fingerprint GPG: B7BD 0FC7 D9A2 66F3 4EFC  45EE 7DE2 3932 597B 6354




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to