Help - Search - Members - Calendar
Full Version: MailScanner takes 100% CPU for hours
The Planet Forums > System Administration > Mail Hosting
metalwolf
Hello to the comunity
I have a weird issue with my MailScanner
(on ALL my servers and i have lots)

When i restart it, it takes 100% CPU for at least 1 to 2 hours or more angry.gif

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
25689 root 25 0 86976 74m 3068 R 95 3.7 23:08.59 MailScanner
25908 root 25 0 87108 75m 3068 R 82 3.7 23:38.10 MailScanner
25819 root 25 0 86976 75m 3068 R 76 3.7 23:33.12 MailScanner
25551 root 25 0 86984 74m 3068 R 62 3.7 23:16.76 MailScanner
25934 root 25 0 87108 75m 3068 R 55 3.7 23:37.11 MailScanner
1581 root 20 0 12424 7124 2704 R 10 0.3 0:00.31 ensim-python
1568 22602 15 0 32460 27m 2292 S 8 1.3 0:00.25 spamd
29626 apache 16 0 46148 23m 5068 D 4 1.2 1:25.58 httpd

I found nothing on the internet or anywhere about it

Does it scan the box ?
How can i get my MailScanner NOT CRAZY at start up ? anybody knows ?
Do i have to desactivate something ?


Thanks

M
alden
What version of MailScanner are you using? Would you mind posting the output of MailScanner -v? Also, do you have any plugins?

If you want more immediate answers, you may want to check out the MailScanner mailing list (the list is very active and the members are very helpful). You can get info at mailscanner.info
metalwolf
Hello thanks for the answer

Here are the data:

Putting the complete command on top and ps, i get this

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
21228 root 25 0 60592 48m 2476 R 46 2.4 4:18.90 MailScanner: starting children
21381 root 25 0 60460 48m 2476 R 45 2.4 4:10.27 MailScanner: starting children
18426 clamav 25 0 41432 32m 420 R 45 1.6 11:12.49 /usr/sbin/clamd
25236 22659 18 0 47472 42m 2140 D 38 2.1 0:05.40 imapd
21178 root 25 0 60856 48m 2476 R 37 2.4 4:34.37 MailScanner: starting children
21164 root 25 0 60864 48m 2476 R 36 2.4 4:33.05 MailScanner: starting children
21408 root 25 0 60600 48m 2476 R 36 2.4 4:15.26 MailScanner: starting children
21396 root 25 0 60448 48m 2476 R 35 2.4 4:05.40 MailScanner: starting children
21417 root 25 0 60468 48m 2476 R 35 2.4 4:10.72 MailScanner: starting children
21186 root 25 0 60628 48m 2476 R 33 2.4 4:22.55 MailScanner: starting children


Mailscanner is "starting children" for hours... :@

And the version is


[root@ns1 MailScanner]# MailScanner -v
Running on
Linux ns1.adigital.net.mx 2.6.18-53.1.6.el5 #1 SMP Wed Jan 16 03:56:43 EST 2008 i686 i686 i386 GNU/Linux
This is Red Hat Enterprise Linux Server release 5.1 (Tikanga)
This is Perl version 5.008008 (5.8.icon_cool.gif

This is MailScanner version 4.58.9
Module versions are:
1.00 AnyDBM_File
1.16 Archive::Zip
1.04 Carp
1.119 Convert::BinHex
1.00 DirHandle
1.05 Fcntl
2.74 File::Basename
2.09 File::Copy
2.01 FileHandle
1.08 File::Path
0.16 File::Temp
0.90 Filesys:icon_biggrin.giff
1.35 HTML::Entities
3.55 HTML::Parser
2.37 HTML::TokeParser
1.22 IO
1.13 IO::File
1.13 IO::Pipe
1.74 Mail::Header
3.07 MIME::Base64
5.420 MIME::Decoder
5.420 MIME::Decoder::UU
5.420 MIME::Head
5.420 MIME::Parser
3.07 MIME::QuotedPrint
5.420 MIME::Tools
0.10 Net::CIDR
1.09 POSIX
1.78 Socket
1.4 Sys::Hostname::Long
0.13 Sys::Syslog
1.86 Time::HiRes
1.02 Time::localtime

Optional module versions are:
0.17 Convert::TNEF
1.814 DB_File
1.13 DBD::SQLite
1.52 DBI
1.14 Digest
1.01 Digest::HMAC
2.36 Digest::MD5
2.11 Digest::SHA1
0.44 Inline
0.20 Mail::ClamAV
3.001009 Mail::SpamAssassin
missing Mail::SPF::Query
missing Net::CIDR::Lite
1.25 Net::IP
0.59 Net::DNS
missing Net::LDAP
missing Parse::RecDescent
missing SAVI
2.56 Test::Harness
0.62 Test::Simple
1.95 Text::Balanced
1.35 URI
[root@ns1 MailScanner]#





Thanks
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.