Hi,

After using < client > script, the tcp socket is not closed by karaf (4.3.2) 
and remains in CLOSE_WAIT state. The session is only closed after ssh timeout 
is reached.

For instance with a SSH timeout set to 30 s :

$ ./client "bundle:list"

$ netstat | grep 8101
tcp6       0      0 localhost:8101          localhost:47844         CLOSE_WAIT

$ tail karaf.log
INFO  | sshd-SshServer[2f716f77](port=8101)-nio2-thread-1 | ServerSessionImpl   
             | 46 - org.apache.sshd.osgi - 2.5.1 | Session 
karaf@/127.0.0.1:47844 authenticated
INFO  | sshd-SshServer[2f716f77](port=8101)-timer-thread-1 | ServerSessionImpl  
              | 46 - org.apache.sshd.osgi - 2.5.1 | 
Disconnecting(ServerSessionImpl[karaf@/127.0.0.1:47844]): 
SSH2_DISCONNECT_PROTOCOL_ERROR - Detected IdleTimeout after 30415/30000 ms.

Do you have a fix for this issue ?

Regards,
--
Nicolas Dutertry
Sopra HR Software - http://www.soprahr.com/



C2 - Usage restreint

Reply via email to