1

Topic: iRedMail-0.8.3 high memory usage!

Hello everyone,

I've just installed  iRedMail-0.8.3 on a clean system. I was surprised after the high memory usage!



Output of top and free -m on a newly installed idle system with no mail traffic.

Top output

# free -m
             total       used       free     shared    buffers     cached
Mem:           900        790        109          0          0          0
-/+ buffers/cache:        790        109
Swap:            0          0          0

- iRedMail version: 0.8.3
- Store mail accounts in which backend: MySQL
- Linux/BSD distribution name and version: CentOS 5.8

Has anyone experienced similar behaviour?

2

Re: iRedMail-0.8.3 high memory usage!

I don't think it's under heavy load. Please do some research about Linux memory management.

3

Re: iRedMail-0.8.3 high memory usage!

In a similar system with iRedMail 0.8.1 I can confirm that the system uses 4 times less memory.

4

Re: iRedMail-0.8.3 high memory usage!

Same for me,  never checked values in previous versions

free -m
             total       used       free     shared    buffers     cached
Mem:           996        889        106          0         39        142
-/+ buffers/cache:        708        288
Swap:         1023         32        991

OS centos 6.3
DB Mysql
iRedMail 0.8.3

I think amavisd is responsible for that memory usage lot of site report that

5

Re: iRedMail-0.8.3 high memory usage!

Check with top or htop, you'll see clamav is eating up a lot of memory.

6

Re: iRedMail-0.8.3 high memory usage!

Yes I have notice increase in memory usage after the upgrade as well.

7

Re: iRedMail-0.8.3 high memory usage!

After upgrade? Did you check which program eat most system resource (CPU, memory, disk I/O)?

8

Re: iRedMail-0.8.3 high memory usage!

ZhangHuangbin wrote:

After upgrade? Did you check which program eat most system resource (CPU, memory, disk I/O)?

I have disabled clamd and amavis that consumed ~250M and by optimizing apache workers memory consumtion was reduced to ~350M.