1

Topic: iRedMail is using all the available memory.

==== Required information ====
- iRedMail version: 0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Ubuntu 14.04 LTS
- Related log if you're reporting an issue:
====

The iRedMail is using almost all the ram I got in my server ( 1GB ) and causes it to shut down services which makes the mail unavailable so now and then.. Its really annoying and I don't know how to solve this.. I had the same issue with 512MB ram and upgraded the ram but the issue keeps coming..

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: iRedMail is using all the available memory.

Amavisd-new will invoke SpamAssassin + ClamAV for spam/virus scanning, it will take most system resource.

You can try to decrease concurrent Amavisd process to reduce its resource usage.

*) set '$max_servers = 1;' in /etc/amavis/conf.d/50-user
*) update line 'smtp-amavis ...' in /etc/postfix/master.cf', replace the number by '1' (same as '$max_servers' in Amavisd).

smtp-amavis ... 1 ...

*) Restart Postfix service first, then restart Amavisd service.