WARNING to Mac OSX Users

Julian Field MailScanner at ecs.soton.ac.uk
Tue May 30 22:22:22 IST 2006


Fixed. Will be in the next release.

James Gray wrote:
> The bin/check_mailscanner script needs to modified BEFORE you activate (cron 
> etc) it.
>
> Add the following to the check_mailscanner script as the last "elseif" 
> before the final "else" at the top of the file:
>
> elif $UNAME | $FGREP "Darwin" >/dev/null ; then # ie Mac OSX
>     pid=`$PS -axww |
>          $EGREP '[ ]('$msbindir/$process')|'$process'[:]' |
>          $AWK '{print $1}'`
>
> Otherwise, the check_mailscanner script will start a new MailScanner process 
> (parent+children) every time it is run from cron.
>
> Case study: on my OSX server (10.4.6) with 2GB of RAM, running the unpatched 
> check_mailscanner script every 15 minutes rendered it useless in 2 hours.  
> RAM was 100% used, all swap consumed and the system practically froze.
>
> Nasty.  All is good now that the code above was added to detect the Darwin 
> kernel (Mac OSX) :)
>
> Cheers,
>
> James
>   

-- 
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.



More information about the MailScanner mailing list