Hi,

We have built a solution that uses the MinaSSH server with a standard SSH
client to create an SSH tunnel. We proxy application requests through this
SSH tunnel. One important point is that the direction of the requests is
opposite to how the tunnel is established.

i.e. SSH Client ---> MinaSSH server
      Application Server <----  Application Client

We notice that occasionally the SSH client fails with a "Too many open
files" error and we have to restart it to reestablish the connection.

Something like this:
debug1: channel 1018: connection failed: Connection refused
socket: Too many open files

Of course, we can try and increase the file handle limits etc, but that
only seems like it would delay the problem.

We wanted to check:
- Whether this is a known issue that has been reported before (I tried to
search, but couldn't find much in this context)
- Anything specific we can look for in MinaSSHD to debug this?
- Any generic debugging advice from the community here.

Thanks
hemanth

Reply via email to