09-27-2021 11:33 AM
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'
Solved! Go to Solution.
10-05-2021 07:10 AM - last edited on 03-09-2022 11:17 PM by smallbusiness
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.
10-05-2021 07:10 AM - last edited on 03-09-2022 11:17 PM by smallbusiness
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.
10-05-2021 07:36 AM
Increasing the memory on the image fixed the issue, thanks for your input.
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