4.12-2 Solaris buglet
Julian Field
mailscanner at ecs.soton.ac.uk
Tue Feb 4 09:19:25 GMT 2003
At 00:45 04/02/2003, you wrote:
> >1) Does it work?
>
>No, unless changes are made to the script (besides than the obvious changes
>to the paths). Regardless of whether MailScanner is currently running, it
>will start a new process for it.
I'll get back to you on that.
>I modified the script, and I've gotten it to partially work. The only
>problem is that it occasionally will report a pid even when MailScanner
>isn't already running (and thus, not start it). This seems more common if
>you try to run check_mailscanner right after you've killed MailScanner's pid
MailScanner can easily take 4 seconds to die properly. The "parent" process
gives the children 3 seconds to die gracefully and clear up after
themselves before it does the final clearup and exits itself.
The init.d script in the RPM distributions contains a "sleep 5" in the
middle of the restart code to handle this.
--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support
More information about the MailScanner
mailing list