Long SSH CLI commands are freezing when using OneClick SSH to connect to the devices
search cancel

Long SSH CLI commands are freezing when using OneClick SSH to connect to the devices

book

Article ID: 393163

calendar_today

Updated On: 04-04-2025

Products

Network Observability Spectrum

Issue/Introduction

We have many large backbone network devices that are connected to a remote network via Secure Domain Connector (SDC).

We noticed for the larger devices, if we connect via SSH and try to list large commands, the SSH window will freeze with no errors.

The SSH window from OneClick will stay frozen until we open up a new SSH session.

Environment

Spectrum 24.3.x

SSH terminal from OneClick

Cause

Not enough NCMService java memory allocated which causes SSH terminal to freeze.

Resolution

We increased the $SPECROOT/lib/SDPM/partslist/NCMSERVICE.idb file from -Xmx 1024m to -Xmx 4096m and then restarted NCMService.

 

ARGV;$SPECROOT/bin/JavaApps/bin/ncmservice<CSEXE> -Xms256M -Xmx1024M -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError -Dvbroker.agent.enableLocator=false -Dvbroker.orb.admDir=$SPECROOT/bin/VBNS -Dborland.enterprise.licenseDir=%BES_LIC_DIR% -Dborland.enterprise.licenseDefaultDir=%BES_LIC_DIR% -DSPECROOT=%SPECROOT% com.aprisma.spectrum.scmd.ScmService;

 

to

 

ARGV;$SPECROOT/bin/JavaApps/bin/ncmservice<CSEXE> -Xms256M -Xmx4096M -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError -Dvbroker.agent.enableLocator=false -Dvbroker.orb.admDir=$SPECROOT/bin/VBNS -Dborland.enterprise.licenseDir=%BES_LIC_DIR% -Dborland.enterprise.licenseDefaultDir=%BES_LIC_DIR% -DSPECROOT=%SPECROOT% com.aprisma.spectrum.scmd.ScmService;