AW: Mailscanner Taking to long to Process Incoming Email

Richard Lynch rich at mail.wvnet.edu
Sun Jun 24 23:50:12 IST 2007


Karl M. Joch wrote:
> had the same on about 200 servers. changed a few ones for testing to
> clamdscan and cpu usage gone done to normal. looks like loading the
> clamav database over end over with each task was too much. but the
> original included clamav-wrapper is not really good for clamdscan. i
> have lot of errors in the syslog and looks like there are other changed
> needed too. anybody have a good script for clamdscan on freebsd and also
> a way to get the -r out of the call of the wrapper script?
>
> mayn thanks,
>
> karl
>  
>
>   
>> -----Ursprüngliche Nachricht-----
>> Von: mailscanner-bounces at lists.mailscanner.info 
>> [mailto:mailscanner-bounces at lists.mailscanner.info] Im 
>> Auftrag von Lucio Montenegro
>> Gesendet: Sonntag, 24. Juni 2007 18:21
>> An: MailScanner discussion
>> Betreff: Re: Mailscanner Taking to long to Process Incoming Email
>>
>> Found the culprit. It was the ClamAV slowing down the flow of 
>> email. It was spiking my cpu 100%. THis system has not been 
>> touched for about a month. I wonder why that would start? Any ideas?
>>
>>
>> On 6/24/07, Julian Field <MailScanner at ecs.soton.ac.uk> wrote: 
>>
>> 	-----BEGIN PGP SIGNED MESSAGE-----
>> 	Hash: SHA1
>> 	
>> 	
>> 	
>> 	Lucio Montenegro wrote:
>> 	> Hello Everyone, 
>> 	> I currently have the current setup:
>> 	>
>> 	> Fedora Core 5
>> 	> MailScanner
>> 	> Spamassassin
>> 	> ClamAV
>> 	>
>> 	> All Messages are forwarded to my internal exchange 
>> server. I noticed
>> 	> that all messages are taking at least 250 seconds or 
>> more to process: 
>> 	>
>> 	> Jun 24 09:57:20 localhost MailScanner[9392]: Batch (1 message)
>> 	> processed in 277.04 seconds
>> 	> Jun 24 09:57:36 localhost MailScanner[9155]: Batch (1 message)
>> 	> processed in 273.49 seconds 
>> 	> Jun 24 09:57:46 localhost MailScanner[9160]: Batch (1 message)
>> 	> processed in 269.35 seconds
>> 	>
>> 	> This all started after a couple of weeks when I 
>> created a cron job to
>> 	> learn spam every 8 hours: 
>> 	>
>> 	> user --showdots --mbox --spam /var/mail/usermailbox
>> 	>
>> 	> I since then disabled the cron job and now I want to 
>> lower the process
>> 	> time. Your help is appreciated.
>> 	What timeouts do you have set in MailScanner.conf?
>> 	What else does your maillog say for each of these batches?
>> 	
>> 	Jules
>> 	
>> 	- --
>> 	Julian Field MEng CITP
>> 	www.MailScanner.info
>> 	Buy the MailScanner book at www.MailScanner.info/store
>> 	
>> 	MailScanner customisation, or any advanced system 
>> administration help?
>> 	Contact me at Jules at Jules.FM
>> 	
>> 	PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>> 	For all your IT requirements visit www.transtec.co.uk
>> 	
>> 	
>> 	
>> 	-----BEGIN PGP SIGNATURE-----
>> 	Version: PGP Desktop 9.6.1 (Build 1012)
>> 	Charset: ISO-8859-1
>> 	
>> 	wj8DBQFGfpCzEfZZRxQVtlQRAgLeAKD+vuoJBM1XC7k9N834Q+7zxoJ6aACdFllx
>> 	SVyhU0BNd7lJ3RG/fkzLKLg=
>> 	=Bloy
>> 	-----END PGP SIGNATURE-----
>> 	
>> 	--
>> 	This message has been scanned for viruses and 
>> 	dangerous content by MailScanner, and is
>> 	believed to be clean.
>> 	For all your IT requirements visit www.transtec.co.uk
>> 	
>> 	--
>> 	MailScanner mailing list
>> 	mailscanner at lists.mailscanner.info 
>> <mailto:mailscanner at lists.mailscanner.info> 
>> 	http://lists.mailscanner.info/mailman/listinfo/mailscanner
>> 	
>> 	Before posting, read 
>> http://wiki.mailscanner.info/posting 
>> <http://wiki.mailscanner.info/posting> 
>> 	
>> 	Support MailScanner development - buy the book off the website!
>> 	
>>
>>
>>
>>     
>
>
>
>   

Just a quick comment. ClamAV 0.91 will greatly improve the DB load 
time.  RC2 was released today and  DB load time is an order of magnitude 
faster.

~rich

-- 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: rich.vcf
Type: text/x-vcard
Size: 299 bytes
Desc: not available
Url : http://lists.mailscanner.info/pipermail/mailscanner/attachments/20070624/30bde96e/rich.vcf


More information about the MailScanner mailing list