Hi, +-From: matsuda <mats...@i4s.co.jp> ------ |_Date: Tue, 12 Jan 2010 19:00:11 +0900 __ | |(2) Test detail | I rebuilt test program, which can easily occur the trouble. | It ocuurs in 1 hour run by below source with jsch-1.0.42. | The test program checks the time to execute "ls -la". | Normally it ends in 80ms, but sometimes it takes more than 3000ms. | This trouble occurs in a hour, and Session#setServerAliveInterval() | doesn't affected this trouble.
I have been running the attached program for 2 hours, but the reported problem can not be reproduced. Have you find the condition to cause that problem? |(3) Test complete source |-------------------------------------------- |import com.jcraft.jsch.*; |import java.awt.*; |import javax.swing.*; |import java.io.*; |import java.sql.*; ... | int sessionNum = 100; | Session[] sessions = new Session[ sessionNum ]; Is 100 essential? How about 1 or 2? 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/ ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ JSch-users mailing list JSch-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jsch-users