cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1131
Views
0
Helpful
2
Replies

JAVA VM Terminated- closed japi socket

pradc
Cisco Employee
Cisco Employee

Hi,

Need help to debug the JAVA VM termination.

The log doesn't have much info why it is terminated.

 

Any help to debug why java VM terminates:

This issues is seen only in LXC container:

Logs:

The NCS Java VM closed japi socket
The NCS Java VM terminated

 

More logs:

ncs[12]: - Loading file ./state/packages-in-use/1/netconfned/package-meta-data.xml
ncs[12]: - Loading file ./state/packages-in-use/1/ec_openroadm_transformation/package-meta-data.xml
ncs[12]: - Loading file ./state/packages-in-use/1/ec_genet/package-meta-data.xml
ncs[12]: - Loading file ./state/packages-in-use/1/cisco-iosxr/package-meta-data.xml
ncs[12]: - Loading file ./state/packages-in-use/1/Hook_openROADM/package-meta-data.xml
ncs[12]: - Loading file /misc/app_host/Cisco_OpenROADM_Adaptor-2.5.23/nso-4.7.2/scripts/command/device_save.sh
ncs[12]: - The NCS Java VM closed japi socket
ncs[12]: - The NCS Java VM terminated
ncs[12]: - Starting the NCS Java VM
ncs[12]: - Starting the NCS Java VM
ncs[12]: - Starting the NCS Java VM
ncs[12]: - Smart Licensing Entitlement Notification: type = "notifyEnforcementMode", agentID = "sa1", notificationTime = "May 23 04:50:42 2019", version = "1.0", requestedDate = "May 23 04:50:34 2019", tag = "regid.2015-10.com.cisco.NSO-platform-production,1.0_d1445dab-9d96-4593-99f2-6f633b8a759c", enforceMode = "eval", daysLeft = 90, expiryDate = "Aug 21 04:50:31 2019", requestedCount = 1
ncs[12]: - The NCS Java VM timed out - stopping jvm
Starting the NCS Java VM

1 Accepted Solution

Accepted Solutions

pradc
Cisco Employee
Cisco Employee

None of the log had any info, but we found the root cause, the memory of the container was insufficient.

Looks like JAVA VM was crashing because of low memory, but no log showed this. 

View solution in original post

2 Replies 2

lmanor
Cisco Employee
Cisco Employee

Hello,

Any more detailed information about what's going on in the ncs-java-vm.log??

How about devel.log, transaction in progress?

 

 

pradc
Cisco Employee
Cisco Employee

None of the log had any info, but we found the root cause, the memory of the container was insufficient.

Looks like JAVA VM was crashing because of low memory, but no log showed this. 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the NSO Developer community: