TimeOut - Application Manager

anas_m
Tera Contributor

Hello ServiceNow Community,

 

I'm facing an issue every time I open "Application Manager." The following message is being displayed:

 

 com.glide.sys.TransactionCancelledException: Transaction cancelled: maximum execution time exceeded

 

Do you have any ideas on how to resolve this?

 

Regards,

1 ACCEPTED SOLUTION

Yashsvi
Kilo Sage

Hi @anas_m,

The 'com.glide.sys.TransactionCancelledException : Transaction cancelled: maximum execution time exceeded' error in ServiceNow typically indicates that the script or query associated with the Application Manager is taking too long to execute, resulting in a timeout. This can be due to a variety of reasons, including inefficient queries, too much data being processed, or performance issues with the instance.

Here are several steps you can take to diagnose and resolve this issue:

 

1. Increase Timeout Settings (Temporary Solution):

As a temporary measure, you can increase the transaction timeout settings, but this should be done with caution and not considered a permanent fix.

System Property: You can increase the 'glide.transaction_timeout' property.

- Go to 'System Properties'> 'All Properties'

- Search for .

- Increase its value (default is 60 seconds, try increasing to 120 seconds).

 

2. Check for Long-Running Scripts:

Identify any custom scripts or business rules that might be running when you open the Application Manager.

Script Includes: Review any Script Includes that might be called.

Business Rules: Check if there are any Business Rules that are triggered when the Application Manager is loaded.

Client Scripts: Ensure that Client Scripts are not causing delays.

 

3. Analyze Logs

Review system logs to get more details on what might be causing the timeout.

System Logs: Go to 'System Logs' > 'System Logs'> 'All' and look for any errors or warnings that coincide with the time you tried to open the Application Manager.

Slow Queries Log: Check 'System Diagnostics' > 'Session Debug' > 'Slow Queries' to identify any slow queries.

 

4. Performance Diagnostics

Use the ServiceNow Performance Dashboard to analyze performance issues.

 

5. Review and Optimize Queries

If the issue is related to a specific query, you may need to optimize it.

 

6. Check for Unnecessary Data Loading

Ensure that the Application Manager is not trying to load too much data at once.

 

By implementing these steps, you should be able to diagnose and resolve the issue causing the 'Transaction cancelled: maximum execution time exceeded' error when opening the Application Manager in ServiceNow.

 

If this answer was helpful, I would appreciate if you marked it as such - thanks!

View solution in original post

2 REPLIES 2

Yashsvi
Kilo Sage

Hi @anas_m,

The 'com.glide.sys.TransactionCancelledException : Transaction cancelled: maximum execution time exceeded' error in ServiceNow typically indicates that the script or query associated with the Application Manager is taking too long to execute, resulting in a timeout. This can be due to a variety of reasons, including inefficient queries, too much data being processed, or performance issues with the instance.

Here are several steps you can take to diagnose and resolve this issue:

 

1. Increase Timeout Settings (Temporary Solution):

As a temporary measure, you can increase the transaction timeout settings, but this should be done with caution and not considered a permanent fix.

System Property: You can increase the 'glide.transaction_timeout' property.

- Go to 'System Properties'> 'All Properties'

- Search for .

- Increase its value (default is 60 seconds, try increasing to 120 seconds).

 

2. Check for Long-Running Scripts:

Identify any custom scripts or business rules that might be running when you open the Application Manager.

Script Includes: Review any Script Includes that might be called.

Business Rules: Check if there are any Business Rules that are triggered when the Application Manager is loaded.

Client Scripts: Ensure that Client Scripts are not causing delays.

 

3. Analyze Logs

Review system logs to get more details on what might be causing the timeout.

System Logs: Go to 'System Logs' > 'System Logs'> 'All' and look for any errors or warnings that coincide with the time you tried to open the Application Manager.

Slow Queries Log: Check 'System Diagnostics' > 'Session Debug' > 'Slow Queries' to identify any slow queries.

 

4. Performance Diagnostics

Use the ServiceNow Performance Dashboard to analyze performance issues.

 

5. Review and Optimize Queries

If the issue is related to a specific query, you may need to optimize it.

 

6. Check for Unnecessary Data Loading

Ensure that the Application Manager is not trying to load too much data at once.

 

By implementing these steps, you should be able to diagnose and resolve the issue causing the 'Transaction cancelled: maximum execution time exceeded' error when opening the Application Manager in ServiceNow.

 

If this answer was helpful, I would appreciate if you marked it as such - thanks!

Ronald Lob1
Tera Guru

Review KB1645668 for a fix.