Topic: memory high usage
==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version: ubuntu 16
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Web server (Apache or Nginx):apache
- Manage mail accounts with iRedAdmin-Pro?no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hello,
i have iredmail server in ec2 amazon
1 cpu and 2 gig memory machine.
my trouble is, one's in a week amavis service gets stuck and the error in mail.log is
run_command: can't fork: Cannot allocate memory at /usr/sbin/amavisd-new
i saw couple of topics that saying to reduce this parameter in amavis config file:
$max_servers = 2;
i have changed it to 1.
it didnt help.
is there something else i can do to make this server use less memory?
thank you
raz
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.