05-22-2019 09:58 PM
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
Solved! Go to Solution.
05-27-2019 02:17 AM
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.
05-24-2019 02:11 PM
Hello,
Any more detailed information about what's going on in the ncs-java-vm.log??
How about devel.log, transaction in progress?
05-27-2019 02:17 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide