[CONTROLLER-1302] Can't ssh to netconf-testtools: UncaughtExceptionHandler in thread "sshd-netconf-ssh-server-nio-group-thread-1" Created: 09/May/15  Updated: 25/Jul/23  Resolved: 19/May/15

Status: Resolved
Project: controller
Component/s: netconf
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Carol Sanders Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Linux
Platform: All


External issue ID: 3162

 Description   

carolsand@kassabuntu:~/ODL/controller/opendaylight/netconf/netconf-testtool/target$ java -Xmx1G -XX:MaxPermSize=1024 -jar netconf-testtool-0.4.0-SNAPSHOT-executable.jar
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
17:09:30.449 [main] INFO o.o.c.n.t.t.NetconfDeviceSimulator - Starting 1, SSH simulated devices starting on port 17830
17:09:31.186 [main] INFO o.a.sshd.common.util.SecurityUtils - Trying to register BouncyCastle as a JCE provider
17:09:31.298 [main] INFO o.a.sshd.common.util.SecurityUtils - Registration succeeded
17:09:31.390 [main] INFO o.o.c.n.t.t.NetconfDeviceSimulator - All simulated devices started successfully from port 17830 to 17830

17:10:24.096 [sshd-netconf-ssh-server-nio-group-thread-1] INFO o.a.s.server.session.ServerSession - Server session created from /127.0.0.1:46759
17:10:24.112 [sshd-netconf-ssh-server-nio-group-thread-1] INFO o.a.s.s.k.PEMGeneratorHostKeyProvider - Generating host key...
17:11:26.844 [sshd-netconf-ssh-server-nio-group-thread-3] INFO o.a.s.server.session.ServerSession - Server session created from /127.0.0.1:46760
17:11:33.261 [sshd-netconf-ssh-server-nio-group-thread-7] INFO o.a.s.s.s.ServerUserAuthService - Session admin@/127.0.0.1:46760 authenticated
17:11:34.422 [nioEventLoopGroup-2-3] WARN i.n.u.c.SingleThreadEventExecutor - An event executor terminated with non-empty task queue (1)
Exception in thread "nioEventLoopGroup-2-3"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "nioEventLoopGroup-2-3"
Exception in thread "sshd-netconf-ssh-server-nio-group-thread-1"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "sshd-netconf-ssh-server-nio-group-thread-1"



 Comments   
Comment by Maros Marsalek [ 12/May/15 ]

java.lang.OutOfMemoryError in the log suggests that the jvm has not enough memory assigned, or (more likely) the limit for threads per process is too low in your OS. JVM throws OutOfMemoryError with message: Unable to create new native thread in such case. So this is an environment issue, not a code one. Should be closed as works for me or wont fix.

There is also a troubleshooting wiki page for netconf testtool that contains sufficient OS limits:
https://wiki.opendaylight.org/view/OpenDaylight_Controller:Netconf:Testtool#Known_problems

Comment by Tony Tkacik [ 19/May/15 ]

This is external configuration to test tool as maros pointed out

  • increasing HEAP or file / socket limit on host OS.
Generated at Wed Feb 07 19:55:11 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.