I configured a VPS: http://www.campworld.net/thewiki/pmwiki ... MailServer
The vps has mysql,apache,ssh services.
The 2GB RAM is sometimes run out: "out of memory", "cannot allocation memory"...
Default the amavis and clamd use large size of memory (after start like this):
Code: Select all
# top|grep ...
883 amavis 20 0 353m 247m 1208 S 0.0 12.1 0:05.83 clamd
8966 clam 20 0 353m 246m 592 S 0.0 12.1 0:00.00 clamd
9048 amavis 20 0 327m 91m 3076 S 0.0 4.5 0:01.51 amavisd
9051 amavis 20 0 328m 90m 1812 S 0.0 4.4 0:00.00 amavisd
9052 amavis 20 0 328m 90m 1808 S 0.0 4.4 0:00.00 amavisd
I reduce the "max_server" in the amavisd.conf?
Code: Select all
$max_server = 2;
Code: Select all
MaxConnectionQueueLength 50
MaxThreads 50
--
G.