Upgrade to 4.26.8 and performance bottlenecks

Martin Hepworth martinh at SOLID-STATE-LOGIC.COM
Wed Feb 18 17:43:48 GMT 2004


Mike

I can't remember what O/S you use, but most people have the tmp area as
a ramdisk of sorts (tmpfs in Linux), or at least a journalled filesystem
of some sort (ext3 or better in Linux, softupdates in FreeBSD) to reduce
wait for I/O.

I've done to basic testing on FreeBSD on ramdisk vs softupdates, it made
little or no difference for either, but Linux is much better set with a
tmpfs for this area.

You might want to make sure that is done.

--
Martin Hepworth
Snr Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300


Michael Dahlberg wrote:
> Martin Hepworth [martinh at solid-state-logic.com] wrote:
>
>
>>Mike
>>
>>I'd make sure that all the required perl Modules are loaded (via CPAN is
>>the best way), and these may have changed for 4.26 from 4.13.
>>
>>Also is there any indication of problems if you set Debug=yes in the
>>MailScanner.conf and run MailScanner via check_MailScanner.
>>
>>--
>>Martin Hepworth
>>Snr Systems Administrator
>>Solid State Logic
>>Tel: +44 (0)1865 842300
>>
>
>
>   Martin:
>
>   Thanks for the suggestions.  I think the only new perl module
>   requirement is Net-CIDR.  I did add this via CPAN (MailScanner won't
>   start without it).
>
>   I just tried setting Debug=yes and logging the speed.  I get the
>   output that follows this message.  It looks as if it spends the
>   greatest amount of time creating attachment dirs for the 30
>   messages.  Would you agree that this might be a place to look in the
>   code for potential bottlenecks?
>
>   Thanks,
>   Mike
>
> Feb 18 10:17:58 antigen MailScanner[16912]: MailScanner E-Mail Virus Scanner version 4.26.8 starting...
> Feb 18 10:18:02 antigen MailScanner[16912]: SophosSAVI 3.78 (engine 2.18) recognizing 87516 viruses
> Feb 18 10:18:02 antigen MailScanner[16912]: SophosSAVI using 41 IDE files
> Feb 18 10:18:04 antigen MailScanner[16912]: lock.pl sees Config LockType =  flock
> Feb 18 10:18:04 antigen MailScanner[16912]: lock.pl sees have_module= 0
> Feb 18 10:18:04 antigen MailScanner[16912]: Using locktype = flock
> Feb 18 10:18:05 antigen MailScanner[16912]: New Batch: Found 155 messages waiting
> Feb 18 10:18:05 antigen MailScanner[16912]: New Batch: Scanning 30 messages, 350656 bytes
> Feb 18 10:18:05 antigen MailScanner[16912]: MCP Checks completed at 350656 bytes per second
> Feb 18 10:18:05 antigen MailScanner[16912]: Spam Checks completed at 350656 bytes per second
> Feb 18 10:18:05 antigen MailScanner[16912]: Created attachment dirs for 30 messages
> Feb 18 10:18:39 antigen MailScanner[16912]: Virus and Content Scanning: Starting
> Feb 18 10:18:39 antigen MailScanner[16912]: Commencing scanning by sophossavi...
> Feb 18 10:18:39 antigen MailScanner[16912]: INFECTED:: W32/Sircam-A:: ./i1IFGKCR016673/stephs.doc.lnk
> Feb 18 10:18:40 antigen MailScanner[16912]: Completed scanning by sophossavi
> Feb 18 10:18:40 antigen MailScanner[16912]: Virus Scanning: SophosSAVI found 1 infections
> Feb 18 10:18:40 antigen MailScanner[16912]: Infected message i1IFGKCR016673 came from 65.172.143.253
> Feb 18 10:18:40 antigen MailScanner[16912]: Virus Scanning: Found 1 viruses
> Feb 18 10:18:40 antigen MailScanner[16912]: Filename Checks: Possible Eudora *.lnk security hole attack (i1IFGKCR016673 steph's.doc.lnk)
> Feb 18 10:18:40 antigen MailScanner[16912]: Other Checks: Found 1 problems
> Feb 18 10:18:40 antigen MailScanner[16912]: Virus Scanning completed at 10018 bytes per second
> Feb 18 10:18:41 antigen MailScanner[16912]: About to deliver 29 messages
> Feb 18 10:18:41 antigen MailScanner[16912]: Uninfected: Delivered 29 messages
> Feb 18 10:18:41 antigen MailScanner[16912]: About to deliver 1 messages
> Feb 18 10:18:41 antigen MailScanner[16912]: Cleaned: Delivered 1 cleaned messages
> Feb 18 10:18:41 antigen MailScanner[16912]: Virus Processing completed at 350656 bytes per second
> Feb 18 10:18:41 antigen MailScanner[16912]: Disinfection completed at 350656 bytes per second
> Feb 18 10:18:41 antigen MailScanner[16912]: Batch completed at 9740 bytes per second (350656 / 36)
> Feb 18 10:18:41 antigen MailScanner[16912]: MailScanner child dying of old age

**********************************************************************

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote confirms that this email message has been swept
for the presence of computer viruses and is believed to be clean.

**********************************************************************



More information about the MailScanner mailing list