Ben,

> Hello. Does anyone have any tips for getting amavis (and clamd and
> spamassassin) to use less memory?
>
> Here's what it's using at the moment:
>    PID USER        VSZ COMMAND
>   5597 amavis   188768 clamd.amavisd -c /etc/clamd.d/amavisd.conf
>   6744 amavis    67480 amavisd (master)
>   7367 amavis     5732 CROND
>   7371 amavis     2668 /bin/bash /usr/share/clamav/freshclam-sleep
>   7375 amavis     1824 sleep 7328

What is a clamd.amavisd process?
Are you using Mail::ClamAV av entry?

>   6744 amavis    67480 amavisd (master)
>   8105 amavis    68776 amavisd (ch5-08105-05)
>   8126 amavis    68764 amavisd (ch2-08126-02)

67 MB VSZ looks quite normal, perhaps even on the low side.

> PS: my SA auto_whitelist file is 320M and I read somewhere that that
> could affect memory usage. However, I restarted amavis with it renamed
> (spamassassin created a new auto_whitelist file) and I saw no difference
> in memory usage.

The size of a database rarely directly affects the memory used
by a process accessing it. Perhaps you confused AWL database
with an outdated SARE blacklisting ruleset, which was indeed
a huge memory hog.

  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