MailScanner -4.22-5+Postfix - 2.0.18-20040122 + SpamAssassin-2.63-1 on RedHat9.0 100% cpu consumtion by Mailscanner !!!

Stephen Swaney steve.swaney at FSL.COM
Thu Feb 26 02:16:48 GMT 2004


> -----Original Message-----
> From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
> Behalf Of Pete
> Sent: Wednesday, February 25, 2004 8:43 PM
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: MailScanner -4.22-5+Postfix - 2.0.18-20040122 + SpamAssassin-
> 2.63-1 on RedHat9.0 100% cpu consumtion by Mailscanner !!!
>
> Chris Conn wrote:
>
> > Try to modify your /etc/sysconfig/i18n and make change it as follows:
> >
> > LANG="en_US"
> > SUPPORTED="en_US:en"
> > SYSFONT="latarcyrheb-sun16"
> >
> > and reboot (or reload your Mailscanner, at least)
> >
> > Get rid of the UTF, it makes a bunch of packages slow as h... on
> > redhat9.  Perl and the like.
> >
> > But, to be honest, RH9 seems somewhat slower overall.  I have better
> > performance on RH Enterprise ES.
> >
> > Chris
> >
> >
> > Gandalf .29 .P wrote:
> >
> >> Hello All ,
> >>
> >> I am sitting infront of my server breaking my head why MailScanner
> >> consumes
> >> 99%-100% CPU when started ????
> >>
> >> My System Is Running :
> >> 1) RedHat 9.0
> >> 2) Perl v-5.8.0 from distro RPM !
> >> 3) Postfix build 2.0.18-20040122 from www.postfix.org + TLS patch
> >> 4) MailScanner 4.22-5 from MailScanner website installed from their
> >> install
> >> script .
> >> 5) SpamAssasin-2.63-1 rpm .
> >>
> >>
> >> I followed the Postfix+MailScanner Procedure as described in the
> postfix
> >> website under addon software MailScanner link and my postfix is runnnig
> >> chrooted on /var/spool/postfix .
> >>
> >> The problem is every time I activate the postfix+mailscanner setup
> which
> >> includes all the steps mentioned in the mailscanner howto , mailscanner
> >> starts postfix incoming queue + outgoing and itself while initating
> >> mailscanner through perl .
> >>
> >> Every time I run top I see the mailscanner process taking 99% of my
> >> CPU { I
> >> didn't mention but I am running a P4 machine + 256MB RAM with
> >> apache+webmail application} until the machine hangs !!!!
> >>
> >> If I get the chance to kill MailScanner processes everything gets
> >> back to
> >> normal and the cpu is 99% idle most of the time .
> >>
> >> I didn't commit any special changes to MailScanner.conf , I am just
> >> using f-
> >> prot and very much want to use the postfix-MailScanner-SpamAssassin
> >> combination .
> >>
> >>
> >> I will be very happy to get some help solving my problem ....
> >>
> >>
> >> Thanks in advance ,
> >>
> >> Gandalf .29 .P
> >
> >
> >
> >
> See i had to change mine to the below or i couldnt compile sokme stuff,
> mainly perl cpan stuff - how to get around the compile issue and have a
> the most appropriate  lang settings?
>
> LANG="C"
> #LANG="en_US.UTF-8"
> SUPPORTED="en_US.UTF-8:en_US:en"

You could leave the settings alone and just issue:

        export LANG=C

In the shell you're doing the compile in. But frankly I've never had a
problem changing the setting in /etc/sysconfig/i18n

Stephen Swaney
President
Fortress Systems Ltd.
Steve.Swaney at FSL.com

> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> Fortress Systems Ltd.
> www.fsl.com
>



--
This message has been scanned for viruses and
dangerous content by Fortress Secure Mail Gateway
and was found to be clean.

Fortress Systems Ltd. - http://www.fsl.com



More information about the MailScanner mailing list