Hi, What could be the possible reason for following hang issue and possible solution? There are 2 threads, the second one busy in polling as you can see below and the first one waiting for the first one to finish. Hogging the CPU usage to 100 %.
(gdb) info threads * 2 Thread 0x7f5b5cdfa700 (LWP 48969) 0x0000003e0eadf283 in poll () from /lib64/libc.so.6 1 Thread 0x7f5c93279720 (LWP 48639) 0x0000003e0ee082fd in pthread_join () from /lib64/libpthread.so.0 (gdb) bt #0 0x0000003e0eadf283 in poll () from /lib64/libc.so.6 #1 0x00007f5c939036ab in ssh_poll () from /apps/opt/dopt/libssh/lib/libssh.so.4 #2 0x00007f5c93903e50 in ssh_poll_ctx_dopoll () from /apps/opt/dopt/libssh/lib/libssh.so.4 #3 0x00007f5c93905686 in ssh_handle_packets () from /apps/opt/dopt/libssh/lib/libssh.so.4 #4 0x00007f5c93905759 in ssh_handle_packets_termination () from /apps/opt/dopt/libssh/lib/libssh.so.4 #5 0x00007f5c938e8cc3 in ssh_connect () from /apps/opt/dopt/libssh/lib/libssh.so.4 #6 0x00000000004485de in ssh::Session::connect (this=0x7f5bf0003980) at /apps/opt/dopt/libssh/include/libssh/libsshpp.hpp:171 #7 0x000000000044781b in SshConnection::connect (this=0x7f5bf0003d90) at connect_ssh.C:51 #8 0x0000000000437b9f in stageThreadFunc (arg=0x2338b10) at rsstage.C:1600 #9 0x0000003e0ee07aa1 in start_thread () from /lib64/libpthread.so.0 #10 0x0000003e0eae8aad in clone () from /lib64/libc.so.6 Thanks, Nitin
