Kevin Bailey wrote:
> Hi,
>
> We have a virtual machine and adding more RAM is going to be expensive.
>   
How much ram?  our 150 user appliances use 384mb ram and run just fine.  
if you have less than that, I can't see you even running an os.
our 100 user VPS clusters allocate ~512MB ram to each instance and see 
to work just fine.
(I say ~512MB because of the 'above the clouds' type virtualization we 
use can 'rob' ram from other idle VPS's when needed and give it back later)
(the hosted 100 user virtual systems need more ram than the 150 user 
appliances since they need to replicate data)

no substitute for ram when it comes to a ram intensive program like perl 
(which runs amavisd)
if using db4 to run awl and bayes, limit its usage. (you can set ram 
usage in db4), or use db2.  maybe don't use AWL.


What  else it taking up the ram?  run a top.  clamav? just use basic 
sigs, no sane sigs, no google safesigs.
don't run pyzor,  where is the DNS server? you running a caching dns 
server on the same box? what about httpd? you limit the starting and 
available processes?
postfix (your mta) are you limiting the max number of postfix servers?

cut down on SA rule usage,  compile the rules, set bayes to manual 
sync/expire and crontab the expire at night when email processing is not 
important.

pay for more ram :-)

if that isn't an option, consider alternatives to running amavisd, such 
as doing everything in postfix and living with the results.
email me offlist if interested in a commercial alternative.


-- 
Michael Scheidell, CTO
Phone: 561-999-5000, x 1259
 > *| *SECNAP Network Security Corporation

    * Certified SNORT Integrator
    * 2008-9 Hot Company Award Winner, World Executive Alliance
    * Five-Star Partner Program 2009, VARBusiness
    * Best Anti-Spam Product 2008, Network Products Guide
    * King of Spam Filters, SC Magazine 2008


_________________________________________________________________________
This email has been scanned and certified safe by SpammerTrap(r). 
For Information please see http://www.spammertrap.com
_________________________________________________________________________
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
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