Debugging ServiceNow Performance Issues
Debugging ServiceNow Performance Issues
Debugging ServiceNow Performance Issues
Transaction Logs
The main tool we will use is ServiceNow itself. The transaction log will contain most
of the evidence we need to investigate performance issues.
Scenarios
I will break these scenarios into one of three categories:
For each scenario I will list symptoms and potential root causes.
Symptoms
Logout, completely clear cache, delete all cookies and try logging in again
Log in from a different browser
Log in from a different machine on the same network
If the issue still persists it may be an issue with the network. To verify:
1. Navigate to Transaction Logs (All User)
2. Find all transactions for a particular users session
3. Find all transaction where the Client response time or Network timeis excessive
(>5000ms)
4. If there are excessively high Network times then those should be flagged and you
should look for additional logs around the same time
5. If additional log entries are found this trend will likely point to a network issue
6. If there are excessively high Client response times you should compare this time to
the other time fields (excluding Browser Time)
7. If the sum of the other time fields does not closely match the Client response time then
it is likely a network issue.
Once you have determined you have a network issue it is necessary to look for trends
to isolate the problem.
Fixes
Unfortunately for networking issues there is not much that can be done from
ServiceNow. Infrastructure may need to be upgraded or reconfigured to support the
load.
Symptoms
One or more users will report excessively long load times for lists or forms.
1. Based on the URL you should be able to find the affected table. Usually it will be in the
name however if it is not a standard List or Form page (for instance a UI Page) you may
need to look through the contents of the page to see the source table(s).
2. View the ACLs for the table.
3. Look for any ACLs with Scripted Conditions.
4. Verify the Script does not have nested for loops or any other violations of best practice.
Fixes
Symptoms
One or more users will report excessively long wait times saving or loading a record.
Fixes
Symptoms
Multiple users will report excessive wait times performing any action in the system
Issue will usually be intermittent
Issue will occur more frequently at peak times
Verifying The Issue
If the issue consistently happens even after restarting the node hardware may be
defective
Many other causes are unknown especially since we do not have access to the back-
end
Fixes
Symptoms
One or more subset of users will report a performance issue especially loading forms or
custom pages
Issue will be consistent and easily reproduced
Issue will only occur on a certain browser or machine
Before verifying check that the user is actually using a Browser on their desktop or
laptop and it is not related to a mobile device.
1. For Internet Explorer ask the User to verify their version by going to About Internet
Explorer
2. If the user reports a version which does NOT match the User Agent reported in the
transaction log they may have compatibility mode on which should be disabled.
1. Older versions of Internet Explorer (<10) generally do not perform well enough to have a
good User Experience in ServiceNow
2. Versions of Internet Explorer (<9) may not work at all
1. Ask the user to disable extensions OR run an instance of the browser in private
browsing mode (this usually disables all extensions)
2. If the issue does not persist with extensions disabled review the extensions to see if any
may be causing an issue
3. Disable extensions one a time to verify.
1. Ask the user to verify there are no errors in the JavaScript console. Most browsers have
a developer console which will output all JavaScript errors.
2. Believe it or not some errors are expected but an excessive amount especially those
which report missing resources could be affecting the user experience.
Unsupported Browser.
Browser running in compatibility mode.
Browser extension impacting performance.
GPO pushing browser setting which impacts performance.
GPO pushing system setting which prevents caching.
Cache disabled through browser setting.
Browser unable to reach resources this may also manifest as the UI appearing
strange.
Fixes
Symptoms
One or more users will report an issue with forms taking a long time to load.
Users may reports jittery or unresponsive form when changing values.
1. Validate there is not an excessive amount of fields,tabs, related lists or embedded lists
on the form.
2. Validate there are not custom Formatters present.
3. If there are an excessive amount of controls on a form it will directly impact the load
time for the user.
Fixes
Symptoms
Fixes