Dx NetOps Spectrum crashes due to Global Collection Reaching Code Limitation
search cancel

Dx NetOps Spectrum crashes due to Global Collection Reaching Code Limitation

book

Article ID: 450472

calendar_today

Updated On:

Products

Network Observability Spectrum

Issue/Introduction

A Global Collection (GC) reaches its code limitation which causes Spectrum Server crash.

 

Environment

Spectrum: All Releases

Cause

  • A GC with ~500+ conditions can exceed the SpectroSERVER worker thread's stack size at around a tree depth of 500.
  • This causes a native stack overflow and an unrecoverable crash.

Resolution

Split the existing GC into two separate collections to resolve this limitation․​​​‌​‍

1. Export 0x12a6a dynamicCriteriaXML value from the Global Collection

2. Split the contents into two valid XML files

3. Create 2 New GCs (Empty)

4. Paste entire contents of the file into the dynamicCriteriaXML Attribute

5. Validate the GCs are working as expected

6. Once validations are complete you can delete original GC.

Additional Information

Example of the expect format:

<search-criteria>
<devices-only-search />
<filtered-models>
<and>
<or>
<has-prefix>
<model-name>AL</model-name>
</has-prefix>
<has-prefix>
<model-name>AK</model-name>
</has-prefix>
<has-prefix>
<model-name>AZ</model-name>
</has-prefix>
<has-prefix>
<model-name>AR</model-name>
</has-prefix>
<has-prefix>
<model-name>CA</model-name>
</has-prefix>
<has-prefix>
<model-name>CO</model-name>
</has-prefix>
<has-prefix-ignore-case>
<model-name>CT</model-name>
</has-prefix-ignore-case>
<has-prefix>
<model-name>DE</model-name>
</has-prefix>
<has-prefix>
<model-name>FL</model-name>
</has-prefix>
<has-prefix>
<model-name>GA</model-name>
</has-prefix>
</or>
<and>
<or>
<equals>
<model-class>12</model-class>
</equals>
<equals>
<model-class>3</model-class>
</equals>
<equals>
<model-class>2</model-class>
</equals>
<equals>
<model-class>4</model-class>
</equals>
</or>
</and>
</and>
</filtered-models>
</search-criteria>