We're running amavis-new on  an internal mail server that doesn't see a
whole lot of traffic and only has about 15 users, but seeing a LOT of memory
usage at all times by amavisd.

The server is a VMware virtual image of CentOS 4.3.  It's got two processors
and about 1.5GB of ram allocated.  We're using postfix with virtual users in
MySQL as our MTA and the amavis version is 2.5.0

This is the sort of system usage we see from amavis all the time.  Once the
process gets ramped up and the children get created it sits at this memory
usage and basically never moves up or down more than a percentage point.

top - 09:32:20 up 7 days, 20:01,  1 user,  load average: 0.69, 0.60, 0.39
Tasks: 137 total,   1 running, 136 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.2% us,  0.5% sy,  0.0% ni, 99.3% id,  0.0% wa,  0.0% hi,  0.0% si
Mem:   1814836k total,  1400840k used,   413996k free,    67656k buffers
Swap:  2031608k total,      208k used,  2031400k free,   257344k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 1212 amavis    18   0  437m 412m 2968 S  0.0 23.3   3:11.92 amavisd
 4760 amavis    16   0  436m 411m 2876 S  0.0 23.2   1:08.40 amavisd
21985 amavis    16   0  434m 409m 2732 S  0.0 23.1   2:03.53 amavisd

Turning off Clam altogether has no affect.  

Does anyone have any idea why we're seeing this and what we can do to bring
it down?  A few hundred megs of memory per process is pretty steep.  

Thanks,
Steven

---
Puryear Information Technology, LLC
Baton Rouge, LA * 225-706-8414
http://www.puryear-it.com
 
Visit  http://www.puryear-it.com/pubs/ebooks/
to download your free copies of:

 "Best Practices for Managing Linux and UNIX Servers"
 "Spam Fighting and Email Security in the 21st Century"


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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