Troubleshooting performance issues with Email Engine
Issue symptoms
- You do not receive email notifications.
- A large number of outgoing email messages are queued up and are not processed (or processed very slowly) from the AR System Email Messages form.
See also Resolutions for common issues.
Issue scope
- One or more users do not receive email notifications in a timely manner.
- One or more Email Engines are affected in a Server Group.
Diagnosing and reporting an issue
Perform the following steps to troubleshoot outgoing issues with Email Engine:
Task | Action | Steps | Reference |
---|---|---|---|
1. | Identify whether the problem is with outgoing or incoming emails. |
| |
2. | Identify if the outgoing email messages queue in the AR System Email Messages form. |
| |
3. | If you do not notice any queuing in the AR System Email Messages form, check the application workflow. |
| |
4. | Check the configuration of Email Engine. | Check if the following settings are correct in the AR System Email Mailbox Configuration form and EmailDaemon.properties file:
| To review all the properties or settings in the EmailDaemon.properties file, see Settings in the EmailDaemon.properties file. |
5. | Review logs. | Analyze the Email Engine logs, and check for SEVERE errors for outgoing mailboxes. The following are the locations for the Email Engine logs:
| If SEVERE errors exist, see Troubleshooting-outgoing-issues-with-Email-Engine. |
6. | Enable logs. | Enable FINEST logging for Email Engine. | |
7. | Enable AR System logging. | To enable the server-side API logs, Filter logs, and SQL logs in AR System:
Note: If the Email Engine connects to a Load Balancer, you must enable logs on all AR System servers in the group. To enable logs on multiple servers in a server group, select the Server Group Logging option in the Server Group Administration Console. | |
8. | Reproduce the issue or wait for it to occur. | Check if you can reproduce the performance issue. Otherwise, wait until the issue occurs on its own. | |
9. | Collect and analyze the Email Engine logs and AR System logs. | Copy the log files to another location and then review them so that they do not get overwritten. The log files might be huge in size depending upon the volume. Collect the Email Engine logs including the .bak file, if it exists. The following are the locations for the Email Engine logs:
Collect API logs, Filter logs, and SQL logs from each AR System server in the server group. | |
10. | Use AR System Log Analyzer. |
Note: If you run Email Engine on a private RPC socket, for example, Queue: Prv:390636, it can help you to identify the corresponding API or SQL calls in the logs. |
|
11. | Find a solution. | ||
12. | Run the Log Zipper utility. |
| See Log Zipper utility. |
13. | Create a BMC Support case |
|
|
Resolutions for common issues
After you determine a specific symptom or an error message, use the following table to identify the solution:
Symptom | Action | Reference |
---|---|---|
There are too many records on the AR System Email Messaging forms. | Run SQL scripts to get form counts. | |
There are too many records on the AR System Email Messaging forms. | Follow the data retention policies and create a custom escalation to remove the older records or enable the archiving feature. | |
You get the following message in the Email Engine log: Slow processing of emails | Use the Throughput Analyzer. | |
There are outdated Email Engine files or libraries in the Email Engine installation directory. | Obtain the latest recommended hotfix or contact BMC Support. |