Notifications

103 views

Description

  • com.snc.discovery.aws plugin is activated
  • The 'DescribeSnapshots' AWS action runs to get details of available EBS snapshots
  • All details are returned in a single large XML payload which is delivered back to the instance via an ecc_queue record - this payload can be many MB in size
  • The 'AWS ECS - DescribeSnapshots' sensor later runs to process the payload pulling it into heap on the corresponding application node
  • If the payload is large this can cause heap exhaustion / severe performance degradation on the corresponding application node
  • This large payload (and therefore heap exhaustion) can be avoided by adding 'MaxResults = 200' as an AWS Action Parameter to the 'DescribeSnapshots' AWS action

Steps to Reproduce

  • Run the 'AWS EC2 - DescribeSnapshots' probe / sensor in an environment with a large number of EBS snapshots
  • Confirm that the resulting payload is many Mb in size
  • Notice that the corresponding 'ASYNC: Discovery - Sensors' which runs to process the payload uses a large amount of heap

Workaround

1. Access the AWS Action DescribeSnapshots:

https://<instance>.service-now.com/nav_to.do?uri=aws_action.do?sys_id=a30053609f132100fbf01f80a57fcfd7

2. Under related list AWS Action Parameter related list, add the following parameter: 

Parameter Name = MaxResults 
Default value = 200 

3. Update the form


Related Problem: PRB1329337

Seen In

There is no data to report.

Intended Fix Version

New York

Safe Harbor Statement

This "Intended Fix Version" information is meant to outline ServiceNow's general product direction and should not be relied upon in making a purchasing decision. The information provided here is for information purposes only and may not be incorporated into any contract. It is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. The development, release, and timing of any features or functionality described for our products remains at ServiceNow's sole discretion.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2019-06-16 05:55:11
Published:2019-03-25