OK - I will let you know when we've tested with setServerAliveInterval. Mind you, it will take a couple of months until we know (or at least believe) that we have fixed the problem since it occurs about once a month today.
Hi,|_Date: Wed, 17 Oct 2012 09:56:26 +0200 ____
+-From: Bengt Rodehav <firstname.lastname@example.org> --
|If setServerAliveInterval() does not resolve the problem,
|But, how is it possible that the read() call can hang for several days?
|Does Jsch use any default read timeout? If not, how can I configure it?
|Finally I would hope that the TCPKeepAlive at the socket level would kick
|in after a while and mark the other end as "dead" and then close
TCPKeepAlive will not. I just want to get a hint to find where is the problem.
1-14-20 HONCHO AOBA-KU,
SENDAI, MIYAGI 980-0014 Japan.