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

Steve Crumley scrumley at secure-enterprise.com
Tue Mar 11 14:35:55 GMT 2008


OK, I'm stuck.  I'm running CentOS 4.6, sendmail 8.13.1 and spamassassin
3.2.4.  I've disabled mailwatch, spamassassin, sql blacklist, and AV.  I
also set the number of child processes to 1.  MailScanner starts ok,
scans a batch of messages ok, then maxes out the cpu and never picks up
another batch of mail.

Here is the debug output:

MailScanner --debug
In Debugging mode, not forking...
Trying to setlogsock(unix)
10:18:25 SpamAssassin temp dir =
/var/spool/MailScanner/incoming/SpamAssassin-Temp
10:18:25 Building a message batch to scan...
10:18:25 Have a batch of 1 message.



This is from maillog:
Mar 11 10:18:25 sm6 MailScanner[814]: MailScanner E-Mail Virus Scanner
version 4.67.6 starting...
Mar 11 10:18:25 sm6 MailScanner[814]: SpamAssassin temporary working
directory is /var/spool/MailScanner/incoming/SpamAssassin-Temp
Mar 11 10:18:25 sm6 MailScanner[814]: Using locktype = posix
Mar 11 10:18:25 sm6 MailScanner[814]: Creating hardcoded struct_flock
subroutine for linux (Linux-type)
Mar 11 10:18:25 sm6 MailScanner[814]: New Batch: Scanning 1 messages,
1857 bytes
Mar 11 10:18:25 sm6 MailScanner[814]: Spam Checks: Starting
Mar 11 10:18:25 sm6 MailScanner[814]: Spam Checks completed at 97434
bytes per second



MailScanner -v
Running on
Linux sm6.secure-enterprise.com 2.6.9-55.0.6.ELsmp #1 SMP Tue Sep 4
21:36:00 EDT 2007 i686 i686 i386 GNU/Linux
This is CentOS release 4.6 (Final)
This is Perl version 5.008005 (5.8.5)

This is MailScanner version 4.67.6
Module versions are:
1.00    AnyDBM_File
1.23    Archive::Zip
1.03    Carp
2.008   Compress::Zlib
1.119   Convert::BinHex
2.27    Date::Parse
1.00    DirHandle
1.05    Fcntl
2.73    File::Basename
2.08    File::Copy
2.01    FileHandle
1.06    File::Path
0.19    File::Temp
0.92    Filesys::Df
1.35    HTML::Entities
3.56    HTML::Parser
2.37    HTML::TokeParser
1.23    IO
1.14    IO::File
1.13    IO::Pipe
2.02    Mail::Header
1.86    Math::BigInt
3.05    MIME::Base64
5.425   MIME::Decoder
5.425   MIME::Decoder::UU
5.425   MIME::Head
5.425   MIME::Parser
3.03    MIME::QuotedPrint
5.425   MIME::Tools
0.11    Net::CIDR
1.08    POSIX
1.14    Scalar::Util
1.77    Socket
1.4     Sys::Hostname::Long
0.18    Sys::Syslog
1.68    Time::HiRes
1.02    Time::localtime

Optional module versions are:
1.38    Archive::Tar
0.21    bignum
2.03    Business::ISBN
1.17    Business::ISBN::Data
1.08    Data::Dump
1.809   DB_File
1.14    DBD::SQLite
1.602   DBI
1.08    Digest
1.01    Digest::HMAC
2.33    Digest::MD5
2.10    Digest::SHA1
1.00    Encode::Detect
0.17012 Error
0.22    ExtUtils::CBuilder
2.19    ExtUtils::ParseXS
2.36    Getopt::Long
0.44    Inline
1.08    IO::String
1.09    IO::Zlib
2.23    IP::Country
missing Mail::ClamAV
3.002004        Mail::SpamAssassin
v2.005  Mail::SPF
1.999001        Mail::SPF::Query
0.2808  Module::Build
0.20    Net::CIDR::Lite
0.63    Net::DNS
v0.003  Net::DNS::Resolver::Programmable
0.34    Net::LDAP
 4.007  NetAddr::IP
1.94    Parse::RecDescent
missing SAVI
2.42    Test::Harness
1.22    Test::Manifest
1.95    Text::Balanced
1.35    URI
0.74    version
missing YAML





Any suggestions?
Thanks,
-Steve


More information about the MailScanner mailing list