Hi Mark and others,
I just update to 2.6.2 rc2 and I got other error:
Dec 14 08:31:56 soekris amavis[13395]: (!)_DIE: Can't locate
Mail/SpamAssassin/CompiledRegexps/body_0.pm in @INC (@INC contains:
/var/lib/spamassassin/compiled/5.010/3.002005
/var/lib/spamassassin/compiled/5.010/3.002005/auto lib
/usr/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-
thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/5.10.0/i386-
linux-thread-multi/usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl) at (eval 730) line 1, <DATA> line 275.
Dec 14 08:31:56 soekris amavis[13395]: (!)_DIE: Can't locate
Mail/SpamAssassin/CompiledRegexps/body_0.pm in @INC (@INC contains:
/var/lib/spamassassin/compiled/5.010/3.002005
/var/lib/spamassassin/compiled/5.010/3.002005/auto lib
/usr/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-
thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/5.10.0/i386-
linux-thread-multi/usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl) at (eval 730) line 1, <DATA> line 275.
Dec 14 08:31:56 soekris amavis[13395]: (!)_DIE: Can't locate
Mail/SpamAssassin/CompiledRegexps/body_0.pm in @INC (@INC contains:
/var/lib/spamassassin/compiled/5.010/3.002005
/var/lib/spamassassin/compiled/5.010/3.002005/auto lib
/usr/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-
thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/5.10.0/i386-
linux-thread-multi/usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl) at (eval 730) line 1, <DATA> line 275.\nBEGIN
failed--compilation aborted at(eval 730) line 1, <DATA> line 275.
Dec 14 08:31:56 soekris amavis[13395]: (!)_DIE: Can't locate
Mail/SpamAssassin/CompiledRegexps/body_0.pm in @INC (@INC contains:
/var/lib/spamassassin/compiled/5.010/3.002005
/var/lib/spamassassin/compiled/5.010/3.002005/auto lib
/usr/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-
thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/5.10.0/i386-
linux-thread-multi/usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl) at (eval 730) line 1, <DATA> line 275.\nBEGIN
failed--compilation aborted at(eval 730) line 1, <DATA> line 275.
I got spamassassin 3.2.5
[r...@soekris dieu]# rpm -qi spamassassin
Name : spamassassin Relocations: (not relocatable)
Version : 3.2.5 Vendor: Mandriva
Release : 5mdv2009.0 Build Date: jeu. 11 sept. 2008
10:37:39 CDT
Install Date: sam. 06 déc. 2008 14:20:12 CST Build Host: n4.mandriva.com
Group : Networking/Mail Source RPM:
spamassassin-3.2.5-5mdv2009.0.src.rpm
Size : 860341 License: Apache License
Signature : DSA/SHA1, jeu. 02 oct. 2008 19:13:32 CDT, Key ID
e7898ae070771ff3
Packager : Oden Eriksson <[email protected]>
URL : http://spamassassin.org/
My top says:
top - 08:43:46 up 9:34, 1 user, load average: 0.61, 0.37, 0.14
Tasks: 55 total, 1 running, 54 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.3%us, 0.3%sy, 0.0%ni, 99.3%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 255692k total, 212304k used, 43388k free, 4k buffers
Swap: 0k total, 0k used, 0k free, 28768k cached
and ulimit -a
[r...@soekris dieu]# ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 20
file size (blocks, -f) unlimited
pending signals (-i) 2048
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 4096
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 2048
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
Any recommendation?
TIA
On Tuesday 09 December 2008 18:52:59 Mark Martinec wrote:
> Luis,
>
> > The fact is that this appliances does not have Swap because it runs over
> > a flash card. Look:
> > Mem: 255692k total, 248524k used, 7168k free, 4k buffers
> > Swap: 0k total, 0k used, 0k free, 27668k cached
> > If I do a swat at flash card then performance will go down. I only have
> > 2 amavis children.
> >
> > I could do amavis 2.6.2 rpm to test if it has been corrected.
>
> The memory shortage problem won't go away with 2.6.2, it's just that
> I expect you'd get a more informative error report (which is what I'd
> be interested-in to get a confirmation for).
>
> > You mean this:
> > - avoid problematic perl constructs open('|-') and open('-|') which fail
> > to catch certain fork errors, or waits indefinitely when resources
> > are tight; just explicitly create a pipe and call fork in subroutines
> > run_command, run_command_consumer and in run_as_subprocess. The change
> > possibly also solves some mystery cases where amavisd would appear
> > to hang when resources are tight (running out of swap space or near a
> > maxprocesses limit) instead of reporting a fork failure. Problem with
> > fork failing without giving a reason for failure reported by Uwe
> > Kiewel;
>
> Yes, exactly.
>
> > I realiza that If i put:
> > vm.swappiness = 0
> > Error does not seems to be present, yet.
>
> Seems you'll have to find ways of reducing memory needs of amavisd
> and SpamAssassin. If you use SARE rules, perhaps removing some
> sets of these rules may be a good start. Turning off berkeley db use
> (nanny + snmp statistics + cache) by $enable_db=0; may help a little.
>
> Mark
>
> ---------------------------------------------------------------------------
>--- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
> Nevada. The future of the web can't happen without you. Join us at MIX09
> to help pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com
>/ _______________________________________________
> AMaViS-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/amavis-user
> AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/howto/
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/