Hi Solaris experts

I am new for Solaris development. But I have developed on Linux for
several year. Recently I have to transform a program from Linux to
Solaris. The program uses ssh to connect to a remote host and
redirects the input/output of ssh to a unix socket locally. It also
has a component to send commands into the unix socket. After the
commands are transferred to remote host and executed there, the
results are received from the same unix socket.

This program works very well on linux. However, when remote host is
solaris, if the command line is longer than 1024 bytes, sometimes some
bytes can not reach the remote host. This phenomenon occurs mainly in
case my program connects to the unix socket as soon as the ssh
connection is created. If I make the program sleep several seconds
after the connection is created. This issue rarely happens. I also
made hundreds of stress tests for command line less than 1024 bytes.
This issue absolutely can not be reproduced.

I searched on Sun site and found that following bug is similar to my issue.
===============================================================
program hangs writing 1K bytes or more to pseudo terminal
bug 1209258
http://sunsolve.sun.com/search/document.do?assetkey=1-1-1209258-1 - Jun 6, 1995
===============================================================
But this bug is reported in 1995, rather ancient one. Does it still
not fixed? I am so puzzled.
Could anyone explain this to me?

Thank you very much
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to