Very often i have the problem that this exception is thrown
System.IO.IOException: Pipe closed
bei Tamir.Streams.PipedInputStream.checkStateForReceive()
bei Tamir.Streams.PipedInputStream.receive(Byte[] b, Int32 off, Int32 len)
bei Tamir.Streams.PipedOutputStream.Write(Byte[] buffer, Int32 offset, Int32 count)
bei Tamir.SharpSsh.SshStream.Write(Byte[] buffer, Int32 offset, Int32 count)
bei Tamir.SharpSsh.SshStream.Write(Byte[] buffer)
bei Tamir.SharpSsh.SshStream.Write(String data)
I happens very sporadicly. The Programm just connects to an ssh server, do several write commands and then closes the connection. It works for 90% of the day, but i want to get down to the source of this problem..
Is there any information i can look after or is this a known bug?
Maybe I can give more information to this bug.
Because I also found it when I used sharpssh in my project.
I am now writing a C# program to control a lot of linux machines.
So I have to open a lot of threads to the machines,each thread open a ssh session to one of
the linux machines and keep the ssh session connected all the time.
The program is stable when the number of machines is small.
Excatlly it's stable when the number is smaller than 10.
If the number of the machines is larger than 10, in other words,when i open more than 10
sshshells at the same time,some of the sshshells may close(randomly) and throad the"Pipe closed" exception.
So I want to report this bug and want some help.
If anybody want more detail about this problem,please contact me.