The Now Platform® Washington DC release is live. Watch now!
Performance issues can be tricky, but there are various modules in ServiceNow applications that enable administrators to diagnose and troubleshoot performance issues. Here are some basic troubleshooting steps to help you isolate the source of slow response times. There are built in performance tools within ServiceNow
which administrators can make use of while addressing performance concerns from end users. As a performance expert, I use these same tools to diagnose performance issues reported to me on HI.
Let's start with the basic information you may need to collect from end users who are impacted. Gather details about the performance from the users, such as:
Real time performance metrics of the node can be found from System diagnostics & Stats page. This provides real time diagnostic information of the node you are currently logged into. The average time of response at multiple intervals are available under the stats page, this gives real time memory usage of the node as well.
Example of what your memory usage and response times from stats will look like:
For a multi cluster environment, navigate to System Diagnostics & Diagnostic page. This will provide information on the cluster nodes the instance is running on.
This page provides information on the status of each online and/or offline node. It will also tell you how much memory each node is using, and if there have been any restarts on the node (JVM uptime). By clicking on the "Name" link for each node, it will take you the "xmlstats" page of the corresponding node which will provide very detailed information on the semaphore usage and scheduled workers running at the moment. The diagnostics page also provides information on the pending events on the system and email stats.
Standard configuration is 16 semaphores and 8 scheduled workers per node for production instances.
This helps to determine if the node is running healthy.
3. Checking the System Logs
System logs is another great place to view information about system activity and trace the transactions performed by users. There are various types of system logs including all user transactions, client transactions, and errors. These logs provide detailed information on response times, any errors triggered by transactions , slow queries and information on slow running jobs.
ServiceNow provides the logging utilities where you can download/view server log files. Check under System Logs & Log File Browser. User transactions can be traced on the server logs using the session information gathered from Transactions (All users).
This is particularly useful when you are able to replicate the slowness reported by the users. By enabling the debugger tool, it will print detailed information on the screen upon completion of the slow transaction. While system logs provide historic information on the slowness, the debugger tool can be effectively used on-the-go as you reproduce the issue.
You can use the System diagnostics & Session debugging for debugging types such as "Debug SQL," "Debug security," "Debug business rules" etc. For example, all ACL evaluations can be logged by enabling the "Debug security" module.
If users from specific locations are reporting slowness, it could possibly be caused by the network issue. The user must collect some basic information at a lower level than a browser. Use the information listed below to help identify if the issue originated from user's network/ISP level/ServiceNow network.
Make sure to gather this information while the issue is occurring as well as report it while submitting an incident.
These are just a few guidelines to get you started with troubleshooting performance issues. If you have other methods or have found certain methods more useful than others I would love to hear your experiences.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.