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

NSO - NED Packages "info Java VM failed to start"

NetDevOp
Level 1
Level 1

Looks like the NED's stopped working on our NSO due to an issue with Java but I can't find exactly what may be causing this.

 

Here are some details - 

cli_owl@ncs# packages reload
reload-result {
package cisco-iosxr-cli-7.33
result false
info Java VM failed to start
}
reload-result {
package paloalto-panos_cli-cli-4.8
result false
info Java VM failed to start
}
reload-result {
package tailf-hcc
result true
}
cli_owl@ncs# show java-vm start-status
java-vm start-status stopped
cli_owl@ncs# show java-vm status
java-vm status not-connected

This is the last entry in ncs-java-vm.log:

Starting java-vm with options:
'-Xmx4G -XX:+UseG1GC -XX:+UseStringDeduplication -classpath :/opt/ncs/ncs-5.5/java/jar/* -Dhost=127.0.0.1 -Dport=4569 -Djava.security.egd=file:/dev/./urandom -Dfile.encoding=UTF-8 -Dorg.apache.logging.log4j.simplelog.StatusLogger.level=OFF'
1 Accepted Solution

Accepted Solutions

tsiemers1
Spotlight
Spotlight

Seen this before when the box is out or resources when Java tries to allocate them.

 

-Xmx4G

You are starting JAVA with 4G. Are you getting errors in the java logs during startup that it is out of memory? If so you can try to lower the java heap and see if that helps.

 

 

View solution in original post

2 Replies 2

tsiemers1
Spotlight
Spotlight

Seen this before when the box is out or resources when Java tries to allocate them.

 

-Xmx4G

You are starting JAVA with 4G. Are you getting errors in the java logs during startup that it is out of memory? If so you can try to lower the java heap and see if that helps.

 

 

Increasing the memory on the image fixed the issue, thanks for your input.

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: