Timo wrote:

> Hello amavis users,
>
> I have noticed a huge amount of swap usage (around 150 MB with 512 MB of
> physical RAM). So now I am trying to save memory as much as possible. I
> reduced $max_servers to 1 in amavisd.conf as supposed in the
> README.performance file. After a restart of amavisd-new swap usage went
> down under 100 MB.
>
> Besides the daemons that I need for mail, the machine runs bind, apache
> and mysql. I also limited memory usage for those programs as good as I
> can. This brought me down to around 20 MB in swap.
>
> The problem is, that over time I still get over 100 MB swap usage.
> Obviously amavisd-new is to blame because when I just do a restart of it,
> I get down to the 20 MB swap.
>
> What I also noticed is, that there are 2 amavisd-new processes after my
> max_servers reduction (from above). Can I run amavisd-new with
> $max_servers = 0? Which other measures do you know to limit or to save
> memory?
>
> I am using amavisd-new-20030616p10-5 with spamassassin-3.0.3-1 and
> clamav-0.85.1-2 connected to exim-3.35-1 on a Debian woody. (I know that
> these are very old versions)
>
> TIA
> Timo
>
I know with my setup (amavisd-new and postfix) the number of processes
needs to be the same.  That is for instance: if you want one process of
amavisd-new then the same would apply for postfix.  I dont know exim so
you might want to check into it.....just an idea.  BTW there are other
memory intensive options in amavisd-new, perhaps doing without some of
these would help out.

Dale



>
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads, discussions,
> and more. http://solutions.newsforge.com/ibmarch.tmpl
> _______________________________________________
> AMaViS-user mailing list
> AMaViS-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amavis-user
> AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/howto/
>
>



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
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