I have two load-balanced SUN servers one with 4 GB RAM and 3 CPUS, the
other one with 1GB and Two CPUS. I will 20 for first server and 15 on
second one.

Thanks,
MJ
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark
Martinec
Sent: Wednesday, June 29, 2005 4:16 PM
To: [email protected]
Subject: Re: [AMaViS-user] Value of $max_servers and $max_requests

MJ,

> I am running amavisd-new with SA and Claimav on solaris based postfix
> box with almost 4000 users. Can some suggest me what should be the
value
> of $max_servers and $max_requests.

The $max_requests is non-critical, just keep a default (10 or 20
or 50 is fine).

$max_servers is the crucial performance knob. Too small and the
machine is underutilized, too much and you end up with overbooked memory
and swapping. It depends how powerful CPU is, how much memory is
available,
how many messages per hour, and what SA network tests you have enabled.

If memory is not a problem (e.g. 1 GB), without long-latency SA network
tests enabled a number would be 5 to 10. With high-latency network tests
and particularly with Razor (and when you see the machine is
underutilized
and there are messages waiting to be processes) you may need to bump up
the 
value to 20 or even 30, if there is sufficient memory available and you
need
to squeeze most of the box.

I would say for 4000 users a value between 5 and 10 would be a good
starting 
point. With low memory (e.g. 256 MB) a value of 2 or 3 would probably
do.

See also
http://www.ijs.si/software/amavisd/amavisd-new-magdeburg-20050519.pdf

  Mark


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
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: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
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