<div>Hello to the comunity</div>
<div> </div>
<div>I have a strange behaviour on my servers (and not only one !)</div>
<div>MailScanner is installed with clamav, spamassassin in a Ensim Pro X environment.</div>
<div> </div>
<div>When i start or restart the MailScanner, it starts to take 100% CPU for all children processes during 1 to 2 hours </div>
<div>which is *really* annoying since it literrally blocks all mail dispatching during this time.</div>
<div> </div>
<div> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND<br>27363 root 25 0 62208 50m 2476 R 50 2.5 7:24.52 MailScanner: starting children<br>26948 root 25 0 62208 50m 2476 R 48 2.5 7:30.29 MailScanner: starting children<br>
27050 root 25 0 62208 50m 2476 R 41 2.5 7:28.99 MailScanner: starting children<br>27647 root 25 0 62216 50m 2476 R 40 2.5 7:25.04 MailScanner: starting children<br>27206 root 25 0 62208 50m 2476 R 39 2.5 7:29.69 MailScanner: starting children<br>
27471 root 25 0 62076 50m 2476 R 39 2.5 7:15.67 MailScanner: starting children<br>27552 root 25 0 62208 50m 2476 R 35 2.5 7:27.87 MailScanner: starting children<br>27292 root 25 0 62208 50m 2476 R 33 2.5 7:24.72 MailScanner: starting children<br>
</div>
<div>The processes are in "starting children" state during 1 to 2 hours, </div>
<div>i already tried to put only 1 , 4, 8, 10 processes, it's the same.</div>
<div>I searched into the MailScanner.conf and found nothing that could help (hard disk scanning ar the start or anything similar ?)</div>
<div> </div>
<div>And suddenly after about 2 hours, it stops to use CPU and start to work normally.</div>
<div> </div>
<div>Some info:</div>
<div> </div>
<div>[root@ns1 images]# MailScanner -v<br>Running on<br>Linux <a href="http://ns1.adigital.net.mx">ns1.adigital.net.mx</a> 2.6.18-53.1.6.el5 #1 SMP Wed Jan 16 03:56:43 EST 2008 i686 i686 i386 GNU/Linux<br>This is Red Hat Enterprise Linux Server release 5.1 (Tikanga)<br>
This is Perl version 5.008008 (5.8.8)</div>
<div>This is MailScanner version 4.58.9<br>Module versions are:<br>1.00 AnyDBM_File<br>1.16 Archive::Zip<br>1.04 Carp<br>1.119 Convert::BinHex<br>1.00 DirHandle<br>1.05 Fcntl<br>2.74 File::Basename<br>
2.09 File::Copy<br>2.01 FileHandle<br>1.08 File::Path<br>0.16 File::Temp<br>0.90 Filesys::Df<br>1.35 HTML::Entities<br>3.55 HTML::Parser<br>2.37 HTML::TokeParser<br>1.22 IO<br>1.13 IO::File<br>
1.13 IO::Pipe<br>1.74 Mail::Header<br>3.07 MIME::Base64<br>5.420 MIME::Decoder<br>5.420 MIME::Decoder::UU<br>5.420 MIME::Head<br>5.420 MIME::Parser<br>3.07 MIME::QuotedPrint<br>5.420 MIME::Tools<br>0.10 Net::CIDR<br>
1.09 POSIX<br>1.78 Socket<br>1.4 Sys::Hostname::Long<br>0.13 Sys::Syslog<br>1.86 Time::HiRes<br>1.02 Time::localtime</div>
<div>Optional module versions are:<br>0.17 Convert::TNEF<br>1.814 DB_File<br>1.13 DBD::SQLite<br>1.52 DBI<br>1.14 Digest<br>1.01 Digest::HMAC<br>2.36 Digest::MD5<br>2.11 Digest::SHA1<br>0.44 Inline<br>
0.20 Mail::ClamAV<br>3.001009 Mail::SpamAssassin<br>missing Mail::SPF::Query<br>missing Net::CIDR::Lite<br>1.25 Net::IP<br>0.59 Net::DNS<br>missing Net::LDAP<br>missing Parse::RecDescent<br>missing SAVI<br>
2.56 Test::Harness<br>0.62 Test::Simple<br>1.95 Text::Balanced<br>1.35 URI<br>[root@ns1 images]#<br></div>
<div>I tried to get files openned by a MailScanner: starting childron process but found nothing really weirdo</div>
<div> </div>
<div>[root@ns1 images]# lsof -p 27050<br>COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME<br>MailScann 27050 root cwd DIR 3,3 90112 4423741 /home/virtual/FILESYSTEMTEMPLATE/services/sendmail/mqueue<br>
MailScann 27050 root rtd DIR 3,3 4096 2 /<br>MailScann 27050 root txt REG 3,3 14784 22320193 /usr/bin/perl<br>MailScann 27050 root mem REG 3,3 1241272 22413572 /usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so<br>
MailScann 27050 root mem REG 3,3 9804 23134448 /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Filesys/Df/Df.so<br>MailScann 27050 root mem REG 3,3 5956 22446361 /usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/Sys/Hostname/Hostname.so<br>
MailScann 27050 root mem REG 3,3 18224 22446147 /usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/File/Glob/Glob.so<br>MailScann 27050 root mem REG 3,3 13932 22446365 /usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/Sys/Syslog/Syslog.so<br>
MailScann 27050 root mem REG 3,3 8808 22446102 /usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/Cwd/Cwd.so<br>MailScann 27050 root mem REG 3,3 13944 22446117 /usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/Digest/MD5/MD5.so<br>
MailScann 27050 root mem REG 3,3 157304 22320449 /usr/lib/libk5crypto.so.3.1<br>MailScann 27050 root mem REG 3,3 46680 29425704 /lib/<a href="http://libnss_files-2.5.so">libnss_files-2.5.so</a><br>
MailScann 27050 root mem REG 3,3 248028 22331724 /usr/lib/libcurl.so.3.0.0<br>MailScann 27050 root mem REG 3,3 18976 22446367 /usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/Time/HiRes/HiRes.so<br>
MailScann 27050 root mem REG 3,3 10900 22446168 /usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/MIME/Base64/Base64.so<br>MailScann 27050 root mem REG 3,3 187704 22324060 /usr/lib/libgssapi_krb5.so.2.2<br>
MailScann 27050 root mem REG 3,3 881927 22331722 /usr/lib/sse2/libgmp.so.3.3.3<br>MailScann 27050 root mem REG 3,3 281180 29427206 /lib/libssl.so.0.9.8b<br>MailScann 27050 root mem REG 3,3 601044 22320472 /usr/lib/libkrb5.so.3.3<br>
MailScann 27050 root mem REG 3,3 64076 22479037 /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/Compress/Zlib/Zlib.so<br>MailScann 27050 root mem REG 3,3 198840 22331723 /usr/lib/libidn.so.11.5.19<br>
MailScann 27050 root mem REG 3,3 234380 29427222 /lib/libssl.so.0.9.7a<br>MailScann 27050 root mem REG 3,3 11716 22446145 /usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/Fcntl/Fcntl.so<br>MailScann 27050 root mem REG 3,3 85344 23103199 /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Mail/ClamAV/ClamAV.so<br>
MailScann 27050 root mem REG 3,3 67788 22328291 /usr/lib/libbz2.so.1.0.3<br>MailScann 27050 root mem REG 3,3 20216 22446335 /usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/Socket/Socket.so<br>
MailScann 27050 root mem REG 3,3 489020 22325711 /usr/lib/libclamav.so.2.0.1<br>MailScann 27050 root mem REG 3,3 115040 22446173 /usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/POSIX/POSIX.so<br>
MailScann 27050 root mem REG 3,3 1011024 29427216 /lib/<a href="http://libdb-4.3.so">libdb-4.3.so</a><br>MailScann 27050 root mem REG 3,3 53756 22446104 /usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/DB_File/DB_File.so<br>
MailScann 27050 root mem REG 3,3 15164 29425721 /lib/<a href="http://libutil-2.5.so">libutil-2.5.so</a><br>MailScann 27050 root mem REG 3,3 16036 22446160 /usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/IO/IO.so<br>
MailScann 27050 root mem REG 3,3 43240 22479943 /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/HTML/Parser/Parser.so<br>MailScann 27050 root mem REG 3,3 125736 29425666 /lib/<a href="http://ld-2.5.so">ld-2.5.so</a><br>
MailScann 27050 root mem REG 3,3 1589908 29425682 /lib/<a href="http://libc-2.5.so">libc-2.5.so</a><br>MailScann 27050 root mem REG 3,3 16428 29425689 /lib/<a href="http://libdl-2.5.so">libdl-2.5.so</a><br>
MailScann 27050 root mem REG 3,3 208352 29425705 /lib/<a href="http://libm-2.5.so">libm-2.5.so</a><br>MailScann 27050 root mem REG 3,3 125644 29425697 /lib/<a href="http://libpthread-2.5.so">libpthread-2.5.so</a><br>
MailScann 27050 root mem REG 3,3 75284 22319473 /usr/lib/libz.so.1.2.3<br>MailScann 27050 root mem REG 3,3 242880 29425865 /lib/libsepol.so.1<br>MailScann 27050 root mem REG 3,3 93512 29425867 /lib/libselinux.so.1<br>
MailScann 27050 root mem REG 3,3 101404 29425713 /lib/<a href="http://libnsl-2.5.so">libnsl-2.5.so</a><br>MailScann 27050 root mem REG 3,3 27736 29425717 /lib/<a href="http://libcrypt-2.5.so">libcrypt-2.5.so</a><br>
MailScann 27050 root mem REG 3,3 76400 29425715 /lib/<a href="http://libresolv-2.5.so">libresolv-2.5.so</a><br>MailScann 27050 root mem REG 3,3 7748 29425878 /lib/libcom_err.so.2.1<br>MailScann 27050 root mem REG 3,3 8072 29425856 /lib/<a href="http://libkeyutils-1.2.so">libkeyutils-1.2.so</a><br>
MailScann 27050 root mem REG 3,3 36168 22446165 /usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/List/Util/Util.so<br>MailScann 27050 root mem REG 3,3 116948 22479915 /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/DBI/DBI.so<br>
MailScann 27050 root mem REG 3,3 33648 22320202 /usr/lib/libkrb5support.so.0.1<br>MailScann 27050 root mem REG 3,3 25112 29427192 /lib/libnss_ensimvwh.so.2<br>MailScann 27050 root mem REG 3,3 1241936 29425880 /lib/libcrypto.so.0.9.8b<br>
MailScann 27050 root mem REG 3,3 1157072 29427153 /lib/libcrypto.so.0.9.7a<br>MailScann 27050 root mem REG 3,3 56413584 22330259 /usr/lib/locale/locale-archive<br>MailScann 27050 root 0r CHR 1,3 1223 /dev/null<br>
MailScann 27050 root 1w CHR 1,3 1223 /dev/null<br>MailScann 27050 root 2w CHR 1,3 1223 /dev/null<br>MailScann 27050 root 3u unix 0xf35fbb80 184178683 socket<br>
MailScann 27050 root 4r REG 3,3 56745 23363698 /usr/lib/MailScanner/MailScanner/CustomConfig.pm<br>MailScann 27050 root 5r REG 3,3 19933 23363697 /usr/lib/MailScanner/MailScanner/ConfigDefs.pl<br>
MailScann 27050 root 6r REG 3,3 2727 23363699 /usr/lib/MailScanner/MailScanner/CustomFunctions/GenericSpamScanner.pm<br>MailScann 27050 root 7uR REG 3,3 0 23003257 /var/lib/clamav/.dbLock<br>
MailScann 27050 root 8r DIR 3,3 4096 23003255 /var/lib/clamav<br>MailScann 27050 root 9uR REG 3,3 0 23040417 /var/lib/clamav/main.inc/.dbLock<br>MailScann 27050 root 10r DIR 3,3 4096 23040410 /var/lib/clamav/main.inc<br>
MailScann 27050 root 11r REG 3,3 7864180 23040420 /var/lib/clamav/main.inc/main.mdb<br>[root@ns1 images]#<br></div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div>Thanks if you can help</div>
<div> </div>
<div>M</div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>