Hi,

   +-From: matsuda <mats...@i4s.co.jp> ------
   |_Date: Thu, 14 Jan 2010 12:16:31 +0900 __
   |
   |I report the following test result.
   |[summary]
   |  The problem doesn't seem to depend on HardWare or Network.
   ...

Thank you for detailed test results.
Ok, so I'll try to reproduce that problem on our environment.

   |I'm not sure how to get the thread dump.
   |This problem doesn't make Exception.
   |It is only kept with Channel#isClose() is true.
   |Do you suggest what should I correct?

I have some questions.

  * During runnging your test program, 100 sshd will run on the remote host.
    For example, 
      # ps ax|grep sshd | grep notty|wc
      100     600    4500
    How many sshd will run at the problem happning?

  * Is the result of "ls -la" huge?

  * Is there some changes if in is read?  I mean that,

    ...
    Channel channel = null;
    channel=thisSession.openChannel("exec");
    ((ChannelExec)channel).setCommand( "ls -la" );
    ( (ChannelExec)channel ).setPty( true );

    //  ByteArrayOutputStream baos = new ByteArrayOutputStream();
    //  channel.setOutputStream( baos );

    InputStream in=channel.getInputStream();

    long start = System.currentTimeMillis();
    channel.connect();
    byte[] tmp=new byte[1024];
    while(true){
      long end = System.currentTimeMillis();

      if(in.available()>0){
        int i = in.read(tmp, 0, tmp.length);
      }
      ...


Sincerely,
--
Atsuhiko Yamanaka
JCraft,Inc.
1-14-20 HONCHO AOBA-KU,
SENDAI, MIYAGI 980-0014 Japan.
Tel +81-22-723-2150
    +1-415-578-3454
Skype callto://jcraft/

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to