Topic: Slow Down Roundcube Webmail
======== Required information ====
- iRedMail version: 0.8.4
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: CentOS 5.10 64Bits
- Related log if you're reporting an issue:
====
Hi, good mornig gentleman.
I have a situation on a new server...
I have iredmail on a virtualized CentOS 5.10 64bits. Its virtualized on another CentOS 5.10 64bits.
My server is a HP with a 4 core xeon 3.10Ghz, 8GB of RAM, hardware RAID level 10 with 4 disks Seagate 7200RPM.
It`s virtualized with Virtualbox. Roundcube Version: 0.9.5
Everyday, many times a day, the server is slowing down, the load average goes from 1.2 to 12 or 21...after some seconds or one minute or two it backs to normal
We have only 95 mail accounts. All the accounts read mail throught webmail. The virtual server have 4GB of RAM.
I checked php.ini, httpd.conf, /var/log/httpd*, /var/log/maillog. All of them looks normal, no errors.
I made tests with different configurations in php, apache, roundcube and nothing solved the problem.
The RAM memory only uses 50, 60%, the processor most of time is in idle.
So I checked I/O of the disk and them I saw the problem. The I/O when the server slow down is in 99%. Various imap processes running in 99%. I added the option "noatime" on the fstab trying to speed up a little bit the harddrive but its not enought.
If I restart Apache when the load starts to increase the load back to normal, but it`s not a solution.
The filesystem is EXT3, and the partitioning is made in encrypted LVM. Is this a bad idea?
The /vmail have 290GB of e-mail. Can anyone please help me to solve this problem?
I attached a screenshot of what happens.
Best Regards,
Robert
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.