SSH client creates 5 threads while connecting to host.
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 400
- Avg merge
- 5d 1h
- Merged PRs (30d)
- 1
Description
Is there a way to configure NIO threads when we connect to a host? I have a use case where I need to connect to 64 hosts from a single client. However, this process takes an excessive amount of CPU time.
sshd-SshClient[2200ad1]-timer-thread-1
sshd-SshClient[2200ad1]-nio2-resume-thread-1
sshd-SshClient[2200ad1]-nio2-thread-1
sshd-SshClient[2200ad1]-nio2-thread-2
sshd-SshClient[2200ad1]-nio2-thread-3
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing SSH client connection setup and where the listed timer, resume, and NIO threads are created. Determine how thread counts could be configured for connections to multiple hosts, then verify that the resulting behavior reduces unnecessary CPU use without breaking client connections.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100