in reply to Working around limit to number of connections with Net::OpenSSH
From the documentation: OpenSSH multiplexing feature requires passing file handles through sockets
So how about the number of open sockets just before it dies?
find /proc/net/* -type f -exec wc -l {} \; |sort -n
also try: ss -s and ss -a (or netstat, but I am sure you used that already)
What do you get for the following: cat /proc/sys/fs/file-max and limit ?
what about a forked process? Could you fork a child, let it work and die... and maybe that drops the hanging connection? (of course, that adds to complexity)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Working around limit to number of connections vis Net::OpenSSH
by nysus (Parson) on Mar 27, 2017 at 21:14 UTC | |
by salva (Canon) on Mar 28, 2017 at 07:35 UTC | |
by nysus (Parson) on Mar 28, 2017 at 10:42 UTC | |
by salva (Canon) on Mar 28, 2017 at 11:56 UTC | |
by nysus (Parson) on Mar 28, 2017 at 15:51 UTC | |
|