Thanks for your help Atsuhiko. Jacek Baranski has already given me a good advice. I opened the InputStream (channel.getInputStream()) too late. The problem seems to be gone since I fixed this. I still monitor the software, but I hope this fix completely solved my issue.
------------------------------- Mark Szabo Alerant Informatikai Zrt. H-1117 Budapest, Infopark sétány 1. Telefon: (36-1) 205-0055 Fax: (36-1) 205-0056 Mobil: (36-30)626-5178 Email:[email protected] ----------------------------------- ________________________________________ Feladó: Atsuhiko Yamanaka [[email protected]] Küldve: 2010. augusztus 23. 9:51 Címzett: Szabó Márk Másolatot kap: [email protected] Tárgy: Re: [JSch-users] Jsch 1.42 hangs Hi, +-From: =?iso-8859-2?Q?Szab=F3_M=E1rk?= <[email protected]> -- |_Date: Tue, 10 Aug 2010 11:57:04 +0200 __________________________ | |I actively use Jsch in one of our projects. However it frequently hangs, |when I run commands through ssh. Could you help me with this problem? |I run only simple commands like "df -k" or "uptime", so nothing that can |stuck in the background. (http://www.openssh.org/faq.html#3.10) |At the beginning of the impelementation phase I saw only a few threads |that stucked because this issue, but now it appears constantly, |which exhausts resources eventually. (thus crashing the application...) |Linux used: Red Hat Enterprise Linux AS release 4 (Nahant Update 8) |OpenSSH version: openssh-3.9p1-11.el4_7 |Jsch version: 1.42 (I also tried it with older releases without success.) |An example stacktrace: ... Is it possible to show its full thread dump? If you hasitate to post such long lines to this ML, please sent it to me directly. 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/ Twitter: @ymnk ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ JSch-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jsch-users
