Mailboxes Page in SiteWorx Takes a Long Time to Load¶
Contents
How the Issue Manifests¶
In SiteWorx, the Mailboxes page listed under Hosting Features > Email > Mailboxes takes a long time to load.
Cause of the Issue¶
The Calculate Box Size setting is enabled and there are many email accounts associated with the domain.
When this setting is enabled, SiteWorx calculates the storage size of each individual email box before the page is loaded. The more email accounts associated with the domain, the longer it takes for that information to be calculated and shown.
How to Resolve¶
Disabling the Calculate Box Size setting will resolve the issue. However, disabling this setting means that storage size information will no longer be available in SiteWorx.
Disable Calculate Box Size Via NodeWorx¶
Log into NodeWorx from the browser (https://ip.ad.dr.ess:2443/nodeworx)
In NodeWorx, navigate to Server > Settings
Under SiteWorx, select No from the Calculate Box Size dropdown
At the bottom of the page, click Save
Disable Calculate Box Size Via the CLI Using a Text Editor¶
Log in to the server at the CLI as root, either via SSH or from the terminal
At the CLI, use a text editor to open
~iworx/iworx.ini
. The following example uses the Vim text editor:vim ~iworx/iworx.ini
Under the
[siteworx]
heading, edit theshow_box_size
setting from this:[siteworx] allow_crossaccount_subdomains="1" allow_email_and_ftp_while_suspended="0" allow_external_copy_to="1" login_autocomplete="1" show_box_size="1"
to this:
[siteworx] allow_crossaccount_subdomains="1" allow_email_and_ftp_while_suspended="0" allow_external_copy_to="1" login_autocomplete="1" show_box_size="0"
Save and exit the text editor
Disable Calculate Box Size Via the CLI Using a Single Line Command¶
Log in to the server at the CLI as root, either via SSH or from the terminal
At the CLI, run the following. This will change the show_box_size setting to 0, which indicates it is disabled:
~iworx/bin/ini.pex --set --section siteworx --index show_box_size --value 0