- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
This week we're focusing on another out-of-memory known issue that exists in the base system product that effects the CMDB module. The related article is KB0546751: CI forms load slowly and may cause a node out-of-memory condition if they include a CI Re....
What does this mean, exactly? Well, when rendering the CMDB Configuration Item form, the related Configuration Items (CI) and tasks are iterated and then displayed for the user. That's the good part - we want that. However, a defect exists in previous releases that allows this iteration to continue to 100 levels. That's the not-so-good part.
Although all of these cannot be displayed in the form, the background task querying the database for the details of the related items consumes a large amount of memory, eventually causing the node to fail.
Here's how it might play out on your end.
In addition to the extra time it takes to load the CI record form, the node experiences high memory consumption that remains sticky and isn't cleared until the node is restarted. This means that the effect is cumulative and nodes completely run out of memory when enough forms are rendered that have the right number of relationships and levels. If other high memory activity or workflows are already running on the node, then the cumulative effect with this issue causes the node to run out of memory earlier.
The ServiceNow engineering team has been able to reproduce this scenario by creating a Configuration Item (CI) with multiple levels of relationships, each with a large number of links. This might be an issue for you if you experience slowness when opening the CI form for records in which there are many relationships. The precise combination of the number of relationships and the number of levels is not known at this time.
Here's how you can get some relief. First, limit the amount of recursion on page load by editing the following two properties:
- glide.ui.cmdb_max_depth
- This property controls the maximum number of levels.
- We recommend a setting of 5 or less.
- glide.ui.max_relations
- This property restricts the maximum number of relationships to display at one time.
- We recommend setting this to 500 or less.
To change the System Properties:
- Go to System Properties > All.
- Search for the properties listed above by name, entering the desired setting in the Value field.
- If the property does not show in the list, click New, enter the name as it is listed above, the desired setting, and then click Save.
For more information on this, see Adding a Property.
That workaround should do it. If you have any other questions or anything to add, don't hesitate to comment here or on the Known Error article directly. We look forward to your feedback!
- 1,992 Views
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.