Re: IoConnector created on each TCP connection over forwarded TCP connection

2014-02-10 Thread Guillaume Nodet
Darren, you're right. At the moment, each forwarding channel will create its own acceptor. I've just opened a JIRA issue to fix that. https://issues.apache.org/jira/browse/SSHD-289 I'll provide a fix for it asap. 2014-02-05 17:54 GMT+01:00 Darren Shepherd darren.s.sheph...@gmail.com: I

Re: IoConnector created on each TCP connection over forwarded TCP connection

2014-02-05 Thread Darren Shepherd
I really don't know. Let me clarify the issue. Specifically, this is what I'm seeing. On SSH_MSG_CHANNEL_OPEN TcpipServerChannel.doInit(Buffer) will call org.apache.sshd.common.io.IoServiceFactory.createConnector(). In the MinaServiceFactory implementation of createConnector() and

Re: IoConnector created on each TCP connection over forwarded TCP connection

2014-01-31 Thread Emmanuel Lecharny
Are you using an executor in your filter chain ? Le 30 janv. 2014 22:18, Darren Shepherd darren.s.sheph...@gmail.com a écrit : I'm trying to use remote port forwarding. What I'm noticing is that for each TCP connection made to the remote port a new Nio2Connector/MinaConnector is created which

IoConnector created on each TCP connection over forwarded TCP connection

2014-01-30 Thread Darren Shepherd
I'm trying to use remote port forwarding. What I'm noticing is that for each TCP connection made to the remote port a new Nio2Connector/MinaConnector is created which creates a new thread pool. I end with hundreds of threads by just connecting to a single port every second. Is there anyway to