How to Fix Slow Email Account Page Loading Due to Large Disk Usage of Users
If you encounter slow page loading when you open your Email Accounts page, that means you are facing excessive disk space usage or just too many accounts. You have 2 options to speed up the loading of that page.
Technique #1: Using Cache Option
By default, the pop email disk usage caching option is disabled. You can enable this option by editing the directadmin.conf configuration via SSH
vi /usr/local/directadmin/conf/directadmin.conf
Add below line into the directadmin.conf file to enable disk usage cache:
pop_disk_usage_cache=1
Setup cronjob by editing the following command:
vi /etc/cron.d/directadmin_cron
Add below line into the command:
NOTE: The above command is applied to ALL domain name. To apply to a single domain name, you need to type the following command instead:
NOTE: Domain.com is referring to a specific target domain name you wish to apply this cronjob command.
Restart crond service
service crond restart
Technique # 2: Edit Directadmin.conf
vi /usr/local/directadmin/conf/directadmin.conf
Disable pop3 disk usage completely by adding below line:
count_pop_usage=0
Technique #1: Using Cache Option
By default, the pop email disk usage caching option is disabled. You can enable this option by editing the directadmin.conf configuration via SSH
vi /usr/local/directadmin/conf/directadmin.conf
Add below line into the directadmin.conf file to enable disk usage cache:
pop_disk_usage_cache=1
Setup cronjob by editing the following command:
vi /etc/cron.d/directadmin_cron
Add below line into the command:
NOTE: The above command is applied to ALL domain name. To apply to a single domain name, you need to type the following command instead:
NOTE: Domain.com is referring to a specific target domain name you wish to apply this cronjob command.
Restart crond service
service crond restart
Technique # 2: Edit Directadmin.conf
vi /usr/local/directadmin/conf/directadmin.conf
Disable pop3 disk usage completely by adding below line:
count_pop_usage=0
Updated on: 12/11/2018
Thank you!