-
Type: Bug
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.15.0
-
Fix Version/s: 1.15.0
-
Component/s: None
-
Labels:None
If there are some errors during start the netconf session, SshClient is not freed so that sockets or file descriptors that made by SshClient are not freed as well.
It leads to starvation of file descriptors for onos so that onos cannot make network connections, spawn the threads so on.
The following logs are not freed SshClient even if there are only 8 netconf devices.
onos> threads --list | grep sshd-SshClient | grep timer-thread-1
321 | sshd-SshClient[1af8f69]-timer-thread-1 | TIMED_WAITING | 2641 | 1460
370 | sshd-SshClient[55173be4]-timer-thread-1 | TIMED_WAITING | 6458 | 5610
381 | sshd-SshClient[3d461a5e]-timer-thread-1 | TIMED_WAITING | 2742 | 1450
429 | sshd-SshClient[446b6c33]-timer-thread-1 | TIMED_WAITING | 2930 | 1950
446 | sshd-SshClient[1a98d925]-timer-thread-1 | TIMED_WAITING | 2823 | 1740
505 | sshd-SshClient[65254867]-timer-thread-1 | TIMED_WAITING | 6514 | 5690
514 | sshd-SshClient[69c63869]-timer-thread-1 | TIMED_WAITING | 6991 | 6490
578 | sshd-SshClient[3ca8eeba]-timer-thread-1 | TIMED_WAITING | 2962 | 1950
1056 | sshd-SshClient[7bc7e0c]-timer-thread-1 | TIMED_WAITING | 2867 | 1470
1174 | sshd-SshClient[1e460151]-timer-thread-1 | TIMED_WAITING | 2876 | 1610
1266 | sshd-SshClient[5f5a54cc]-timer-thread-1 | TIMED_WAITING | 3070 | 1970
2673 | sshd-SshClient[1b2c7ae6]-timer-thread-1 | TIMED_WAITING | 2965 | 2070
2681 | sshd-SshClient[7f69159e]-timer-thread-1 | TIMED_WAITING | 2772 | 1750
2689 | sshd-SshClient[38d8e65d]-timer-thread-1 | TIMED_WAITING | 3143 | 2140
2741 | sshd-SshClient[7b39192a]-timer-thread-1 | TIMED_WAITING | 2551 | 1640
2755 | sshd-SshClient[38ff6183]-timer-thread-1 | TIMED_WAITING | 2978 | 2140
2814 | sshd-SshClient[7ac4a66c]-timer-thread-1 | TIMED_WAITING | 3038 | 2340
9452 | sshd-SshClient[51c0546]-timer-thread-1 | TIMED_WAITING | 2746 | 1830
9461 | sshd-SshClient[33ec3921]-timer-thread-1 | TIMED_WAITING | 6099 | 5260
9470 | sshd-SshClient[270bc1c]-timer-thread-1 | TIMED_WAITING | 2784 | 1840
9481 | sshd-SshClient[24fe18]-timer-thread-1 | TIMED_WAITING | 2712 | 1980
9493 | sshd-SshClient[16af2ee]-timer-thread-1 | TIMED_WAITING | 2785 | 1550
9576 | sshd-SshClient[146946ff]-timer-thread-1 | TIMED_WAITING | 2798 | 1860
9593 | sshd-SshClient[15d154fa]-timer-thread-1 | TIMED_WAITING | 6276 | 5080
9649 | sshd-SshClient[329e8050]-timer-thread-1 | TIMED_WAITING | 2615 | 1580
9668 | sshd-SshClient[79f8c016]-timer-thread-1 | TIMED_WAITING | 6262 | 5570
9673 | sshd-SshClient[435d60c0]-timer-thread-1 | TIMED_WAITING | 2588 | 1760
9707 | sshd-SshClient[7866c159]-timer-thread-1 | TIMED_WAITING | 6300 | 5520
33936 | sshd-SshClient[266ca873]-timer-thread-1 | TIMED_WAITING | 5356 | 4670