This project is read-only.

RunCommand not returning

Nov 28, 2014 at 11:51 AM
Hi all
I have an application where we use the SSH.Net library to communication to a netapp storage system. There are a lot of connections opened, commands executed and connections closed. I implemented a pooling for the used connections because the netapp does not like to much concurrently opend connections. The pooling is heavily used and works fine so far.

However sometimes the RunCommand method of the SH.Net object does not return. It just hangs. I can only reproduce this on the productive System under quite some load. It is about 1 call from 10'000 which does not return.

The Problem is that in this case one of the run jobs locks and does not finish.

Via logging I could track down this issue to the RunCommand call and I am sure that this call is not returning.

I am using the beta1 Version, have not tried beta2. Is this a known issue? Is there a way I could assure that the call to RunCommand returns in any case (even with no answer).

Any help is appreciated