1

Topic: iRedmail server All in one: Busy Disk 100% most of the time

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5
- Linux/BSD distribution name and version: Ubuntu 14.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx):Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes
- Related log if you're reporting an issue:
====

Hi Zhang,
I have a big problem, so i hope you can help me to troubleshoot this problem.

I install iRedmail server all-in-one in an ubuntu server 4 core - 4Gb to host multi mail domain on it.

My problem is my root disk busy is 100% almost the time.
My root disk Sata 100GB
Disk to store mail is SATA 500GB

I have tuning the performance by using tmpfs for amavis and separate postfix queue to SSD, so the disk busy of the root disk is 100% ( i use cloud server with mail store on a addition volume mount).

So do you have any idea for this problem?
Hope you can help
Thanks

----

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

2

Re: iRedmail server All in one: Busy Disk 100% most of the time

You have to figure out which program is so busy at disk I/O first. Try command 'iotop'.

3

Re: iRedmail server All in one: Busy Disk 100% most of the time

ZhangHuangbin wrote:

You have to figure out which program is so busy at disk I/O first. Try command 'iotop'.

Thanks for your reply,
when i run iotop command, the process write to much to disk is jbd2/vda1. This is a normal process, so i don't have any idea

4

Re: iRedmail server All in one: Busy Disk 100% most of the time

Which process / program?

5

Re: iRedmail server All in one: Busy Disk 100% most of the time

ZhangHuangbin wrote:

Which process / program?

When i check many times again, i think the reason is mysqld and jdb2/sda cause this problem.

Do you have any idea?

6

Re: iRedmail server All in one: Busy Disk 100% most of the time

binhnd.ask wrote:

When i check many times again, i think the reason is mysqld and jdb2/sda cause this problem.

Can you see whether it's busying in writing or reading data? try 'iostat'.

7

Re: iRedmail server All in one: Busy Disk 100% most of the time

ZhangHuangbin wrote:
binhnd.ask wrote:

When i check many times again, i think the reason is mysqld and jdb2/sda cause this problem.

Can you see whether it's busying in writing or reading data? try 'iostat'.

Hi Zhang,
i solved this problem by using a SSD drive and take mysqld to write data on it. Now my mail server is faster and the performance is good.

Thanks for your reply.