Symptoms
When using the "Email Accounts" interface in a cPanel with a lot of email accounts configured to be displayed, performing a Search of the email accounts can be very slow. This is most prominent when set to display 500 email accounts on the page.
Description
For each email account that is displayed, an API request is being made to is_temporary_domain to determine additional information on the domain the email account belongs to; the more domains that are listed, the more API requests are made. Each API request that is made must be completed, and are performed sequentially. Due to these requests, performing a search will be delayed until all queued is_temporary_domain requests are completed. Additionally, each time that the list of email accounts is updated (such as being cleared), additional requests are added to the queue which can cause further delays.
We've opened an internal case for our development team to investigate this further. For reference, the case number is CPANEL-48816. Follow this article to receive an email notification when a solution is published in the product.
Workaround
Lower the number of email accounts visible on the page to 20 or 50 to have less requests performed.
Comments
1 comment
Update: CPANEL-48816 is solved in the following cPanel & WHM version(s) and newer:
Article is closed for comments.