Upgraded to 4.67.6, MailScanner scans a batch then hangs at 100 percent CPU

Glenn Steen glenn.steen at gmail.com
Tue Mar 11 17:21:06 GMT 2008


On 11/03/2008, Steve Crumley <scrumley at secure-enterprise.com> wrote:
>
>
>  > -----Original Message-----
>  > From: mailscanner-bounces at lists.mailscanner.info
>  > [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf
>  > Of --[ UxBoD ]--
>
> > Sent: Tuesday, March 11, 2008 11:29 AM
>  > To: MailScanner discussion
>  > Subject: Re: Upgraded to 4.67.6, MailScanner scans a batch
>  > then hangs at 100 percent CPU
>  >
>
> > do you have strace installed on the server ? if so when the
>  > process is running at 100% CPU connect to it and see what it
>  > is doing.  I had this before, but for the life of me I cannot
>  > remember what I changed to fix it :(
>  >
>  > Things to check :-
>  >
>  > 1) Permissions, are they all correct
>  > 2) Check MailScanner.conf again just to make sure no typos
>  >
>  > Regards,
>  >
>  > --
>
>
> Here is the output from strace:
>
>  waitpid(-1, 0xbff09448, WNOHANG)        = 0
>  waitpid(-1, 0xbff09448, WNOHANG)        = 0
>  waitpid(-1, 0xbff09448, WNOHANG)        = 0
>  waitpid(-1, 0xbff09448, WNOHANG)        = 0
>  waitpid(-1, 0xbff09448, WNOHANG)        = 0
>  waitpid(-1, 0xbff09448, WNOHANG)        = 0
>  waitpid(-1, 0xbff09448, WNOHANG)        = 0
>  waitpid(-1, 0xbff09448, WNOHANG)        = 0
>  waitpid(-1, 0xbff09448, WNOHANG)        = 0
>  waitpid(-1, 0xbff09448, WNOHANG)        = 0
>  waitpid(-1, 0xbff09448, WNOHANG)        = 0
>  waitpid(-1, 0xbff09448, WNOHANG)        = 0
>  waitpid(-1, 0xbff09448, WNOHANG)        = 0
>  waitpid(-1, 0xbff09448, WNOHANG)        = 0
>  waitpid(-1, 0xbff09448, WNOHANG)        = 0
>  waitpid(-1, 0xbff09448, WNOHANG)        = 0
>  waitpid(-1, 0xbff09448, WNOHANG)        = 0
>  waitpid(-1, 0xbff09448, WNOHANG)        = 0
>  waitpid(-1, 0xbff09448, WNOHANG)        = 0
>  waitpid(-1, 0xbff09448, WNOHANG)        = 0
>  waitpid(-1, 0xbff09448, WNOHANG)        = 0
>  waitpid(-1, 0xbff09448, WNOHANG)        = 0
>
>
>
>
>  The system had been running fine for over a year, I can't find any
>  permission or setting change thats doing this, but I could be
>  overlooking something.
>  Thanks,
>  -Steve
>
Could perhaps be a busted SQLite SA cache? What does analyse_s<TAB> (I
don't remember if it is sacache or spamassassin_cache ... the command
completion should take care of it:-) say? If it looks fishy, simply
delete the SA cache file and restart MS.

You've run MailScanner --lint, right? Nothing obvious from that?

Oh, and what av scanners do you use? Obviously not clamavmodule, but
perhaps clamav or clamd? are those OK?

Cheers
-- 
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se


More information about the MailScanner mailing list