Wojtek,

> i run Maia and its version of the amavisd-new. i understand that
> Maia patch standard amavisd-new. i have: amavisd-new-2.2.1 and
> Maia Mailguard 1.0.1 

> amavis gets up to 800 MB - 1GB :-(

As Gary noted, unlike amavisd-new (which keeps mail mostly on
files and accesses a database in buffer chunks of managable size),
Maia loads the entire mail message into memory in order to
be able to store it to SQL in a single operation. This is killing
your host which is low on RAM and seemingly low on swap space too.

> TROUBLE in check_mail: mime_decode-1 FAILED: run_command (open pipe):
> Can't fork at /usr/lib/perl/5.8/IO/File.pm line 70, <GEN[Y]> line [X].
> at /usr/sbin/amavisd-new line 1656, <GEN[Y]> line [X].
> perhaps it cannot fork as it has no memory left?

Yes, fork fails when swap space is full. Increase you swap space
or reduce the number of concurrent amavisd processes, or limit
the maximum mail size at your MTA.

  Mark

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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