Luis,

> Dec 14 08:31:56 soekris amavis[13395]: (!)_DIE: Can't locate
> Mail/SpamAssassin/CompiledRegexps/body_0.pm in @INC
>
> I've fixed that, using sa-compile

Another solution is to comment-out a line:
  loadplugin Mail::SpamAssassin::Plugin::Rule2XSBody
in one of your .pre files, so that compiled regexp
won't be used. This could save you some memory.

> > 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).

> After upgrading to 2.6.2rc2
>
> Dec 14 10:34:14.145 soekris.okay.com.mx /usr/sbin/amavisd[14867]:
> (14867-03) LMTP> 451 4.5.0 TempFailed, id=14867-03, from
> MTA([127.0.0.1]:10025): 451 4.5.0 Error in processing, id=14832-05,
> parts_decode_ext FAILED: file(1) utility (/usr/bin/file) error:
> run_command: can't fork: Cannot allocate memory at /usr/sbin/amavisd line
> 2936, <GEN11> line 1351. at (eval 101) line 193, <GEN11> line 1351.

Thanks for trying it. That's good, the new error report:

file(1) utility (/usr/bin/file) error:
  run_command: can't fork: Cannot allocate memory
  at /usr/sbin/amavisd line 2936

is more informative then the old one:

file(1) utility (/usr/bin/file) error:
  run_command (open pipe): Can't fork
  at /usr/lib/perl5/5.10.0/i386-linux-thread-multi/IO/File.pm
  line 188

like I hoped it would be.

> this error is more and more common than 2.6.1

Probably because a bit more memory is used now.
Try to shed off some of the memory usage by
disabling rules and features not essential,
like compiled rules plugin, maybe some SARE rules,
database usage, ...

  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/ 

Reply via email to