1

Topic: how to tune apache server on the iredmail?

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.2
- Linux/BSD distribution name and version: ubuntu14.04.lts
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): ldap
- Web server (Apache or Nginx):apache
- Manage mail accounts with iRedAdmin-Pro? 2.3.1
- Related log if you're reporting an issue:
====
I want webserver on the iredmail server to be faster. How can i tune apache server?

----

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

2

Re: how to tune apache server on the iredmail?

Do you have some performance issue now?

3

Re: how to tune apache server on the iredmail?

it looks like a bit slow .

i am going to add new domains  ( will be about 3000 accounts soon )

ZhangHuangbin wrote:

Do you have some performance issue now?

4

Re: how to tune apache server on the iredmail?

Is web service slow, or other service?

5

Re: how to tune apache server on the iredmail?

web service

ZhangHuangbin wrote:

Is web service slow, or other service?

6

Re: how to tune apache server on the iredmail?

Can you identify which web application(s) causes the performance issue? webmail? or other application?

7

Re: how to tune apache server on the iredmail?

By the way, if you search "Apache performance tuning" in Google, it will give you many articles.

8

Re: how to tune apache server on the iredmail?

operations on webmail and iredadmin  as if are slow   

ZhangHuangbin wrote:

Can you identify which web application(s) causes the performance issue? webmail? or other application?

9

Re: how to tune apache server on the iredmail?

How about your hardware info? CPU/RAM/Disk/Network bandwidth?

10

Re: how to tune apache server on the iredmail?

top - 17:00:00 up 29 days, 19:53,  1 user,  load average: 0.49, 0.53, 0.60
Tasks: 379 total,   1 running, 378 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.8 us,  0.3 sy,  0.2 ni, 98.3 id,  0.1 wa,  0.0 hi,  0.3 si,  0.0 st
KiB Mem:  16427292 total, 15142012 used,  1285280 free,   695008 buffers
KiB Swap:  8384508 total,   101740 used,  8282768 free.  6021212 cached Mem

Apache Memory Usage (MB): 963.066
Average Process Size (MB): 29.1838
root@mail:~# free -m
             total       used       free     shared    buffers     cached
Mem:         16042      14789       1252         13        678       5879
-/+ buffers/cache:       8231       7811
Swap:         8187         99       8088
root@mail:~# top -b -n1 | grep "Cpu(s)" | awk '{print $2 + $4}'
1.1

meanwhile i increased values of mpm_prefork.conf yesterday. it is better than the old now.

ZhangHuangbin wrote:

How about your hardware info? CPU/RAM/Disk/Network bandwidth?