search cancel

SpectroSERVER hanging during startup


Article ID: 6806


Updated On:


CA Spectrum


The SpectroSERVER is hanging during startup. A pstack (Linux) or procdump (Windows) of the SpectroSERVER process shows a lot of activity processing events for a South Bound Gateway (SBG). The following is an example of the pstack output:

Thread 1 (Thread 0x2ae922d00a20 (LWP 7933)): 

#0 0x00002ae91e94a0e0 in CsMKHashTable::get_node_value(CsMKHashNode*) const () from /opt/SPECTRUM/lib/ 
#1 0x00002ae917698852 in CsLandscape::get_mkd_list(CsAttrDesc const*, CsFindSpec const*, CsMemKeyDesc const*) () from /opt/SPECTRUM/lib/../SS/ 
#2 0x00002ae91769d0b3 in CsLandscape::find_keyed_models(CsFindSpec const*, CsULHashTable*, CsFindSpec::LogicalOp_e, CsULHashTable*, int) () from /opt/SPECTRUM/lib/../SS/ 
#3 0x00002ae9176a0d7f in CsLandscape::terminal_find_model_handles(CsFindSpec const*, CsULHashTable*, CsFindSpec::LogicalOp_e, CsError::CsError_e*, int) () from /opt/SPECTRUM/lib/../SS/ 
#4 0x00002ae9176a0f56 in CsLandscape::find_model_handles(CsFindSpec const*, CsError::CsError_e*, CsSecurityIf const*, int) () from /opt/SPECTRUM/lib/../SS/ 
#5 0x00002ae9176a17f6 in CsLandscape::find_models(CsFindSpec const*, CsSecurityIf const*, int) () from /opt/SPECTRUM/lib/../SS/ 
#6 0x00002ae9176a18e1 in CsLandscape::find_models(CsFindSpec const*, CsSecurityIf const*) () from /opt/SPECTRUM/lib/../SS/ 
#7 0x00002ae918751908 in CsVnmLscpeHandle::find_models(CsFindSpec*) const () from /opt/SPECTRUM/lib/../SS/ 
#8 0x00002ae91c984a3b in CsIHEventAdmin::findExistingEventModel(CsModelHandle const&, CsBuffer const*, InternetAddress const*) () from /opt/SPECTRUM/lib/../SS/ 
#9 0x00002ae91c990e9d in CsIHEventAdmin::do_trig_event(CsModelHandle const&, CsEventMessage const*) () from /opt/SPECTRUM/lib/../SS/ 
#10 0x00002ae91c993aa5 in CsIHEventAdmin::trig_event(CsModelHandle const&, CsEventMessage const*) () from /opt/SPECTRUM/lib/../SS/ 
#11 0x00002ae9176b28fb in CsModelType::trig_event(CsModelHandle const&, CsEventMessage*, int, CsGenAttrs const*, int) () from /opt/SPECTRUM/lib/../SS/ 
#12 0x00002ae9176cc635 in CsModel::process_event(CsEventMessage*, int, CsGenAttrs const*, CsSecurityIf const*, int) () from /opt/SPECTRUM/lib/../SS/ 
#13 0x00002ae91bf5f114 in CsDModelIf::process_event(CsEventMessage*, int, int, CsGenAttrs const*) const () from /opt/SPECTRUM/lib/ 
#14 0x00002ae91a50f9d9 in EventCreationNode::process_node() const () from /opt/SPECTRUM/lib/../SS/ 
#15 0x00002ae91a50f91b in EventCreationQueue::process_queued_work(CsWorkNode const*) () from /opt/SPECTRUM/lib/../SS/ 
#16 0x00002ae91c1e7092 in CsWorkQueue::process_work_node(CsWorkNode*) () from /opt/SPECTRUM/lib/ 
#17 0x00002ae91c1e63aa in CsWorkScheduler::do_work() () from /opt/SPECTRUM/lib/


Release: a7n0c000000PBNr


Spectrum is configured with a SBG integration. In the EventAdmin model for this integration, there are thousands of EventModel models. When processing an event for this SBG, Spectrum has to check if there are any existing EventModel models for this event before processing the event even further. When there are thousands of existing EventModel models, this causes Spectrum to hang while it is searching for EventModel models.


Destroy any unneeded EventModel models from within the EventAdmin model.

Additional Information

Reference for information on running pstack on Linux

Reference for information on running procdump on Windows.

Basic Linux Command User Reference