100% CPU load. Perl module problem?

Jason Ede J.Ede at birchenallhowden.co.uk
Thu Dec 30 19:38:46 GMT 2010


There was quite a lot of good debugging info posted... Would it make sense for it to make it into the wiki?

Jason


-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Torsten Bunde
Sent: 30 December 2010 08:27
To: MailScanner discussion
Subject: Re: 100% CPU load. Perl module problem?

Hi Glenn,

On 28.12.2010 20:08, Glenn Steen wrote:
> What does the logs say? Have you run the analyse thing for the sa 
> cache? Is it ok? What about the processing db?

I just uninstalled two different versions of SpamAssassin and installed the actual version 3.3.1 from source. But the problem still exists after this.

> Boot up without starting ms, then do the lint thing and, if that is 
> ok, do a MailScanner --debug --degug-sa ... And send a message 
> through... What does thst give you?

This did the trick to me :-) "MailScanner --debug --debug-sa" gave me the hint:

11:33:45 Use of uninitialized value in numeric ge (>=) at /usr/lib/perl5/5.8.3/x86_64-linux-thread-multi/DB_File.pm line 276.
11:33:45 Use of uninitialized value in numeric gt (>) at /usr/lib/perl5/5.8.3/x86_64-linux-thread-multi/DB_File.pm line 280.
11:33:45 Deep recursion on subroutine "DB_File::AUTOLOAD" at /usr/lib/perl5/5.8.3/x86_64-linux-thread-multi/DB_File.pm line 235.

So there is a problem with the subroutine "DB_File::AUTOLOAD". I tested some things about DB_File::AUTOLOAD and after having a look at

	http://wiki.apache.org/spamassassin/DeepRecursionInDbFile

I uninstalled "DB_File" (and I had also the chance to work with CPANPLUS
;-) ) and installed it completly clean and new. Some testing and: It works fine again! :-)

So a big "Thank You" to you Glenn, Martin and Steve for the hints. And @all on this list: I wish you a Happy New Year.

Regards
- Torsten
--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website! 


More information about the MailScanner mailing list