Mailboxes Page in SiteWorx Takes a Long Time to Load

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

  1. Log into NodeWorx from the browser (https://ip.ad.dr.ess:2443/nodeworx)

  2. In NodeWorx, navigate to Server > Settings

  3. Under SiteWorx, select No from the Calculate Box Size dropdown

    calculate box size setting dropdown
  4. At the bottom of the page, click Save

Disable Calculate Box Size Via the CLI Using a Text Editor

  1. Log in to the server at the CLI as root, either via SSH or from the terminal

  2. At the CLI, use a text editor to open ~iworx/iworx.ini. The following example uses the Vim text editor:

    vim ~iworx/iworx.ini
    
  3. Under the [siteworx] heading, edit the show_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"
    
  4. Save and exit the text editor

Disable Calculate Box Size Via the CLI Using a Single Line Command

  1. Log in to the server at the CLI as root, either via SSH or from the terminal

  2. 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