Hi 

Thanks for the reply, the problem happens on the upload, I have not checked the 
download as we only need to move files in one direction. That is from a Solaris 
server to a Windows server. The windows server is running FreeSSHD. When the 
process hangs I run truss on the process and find that it is just looping in a 
sleeping state. If there are any tests that you would like me to run then 
please let me know.


Thanks


William

-----Original Message-----
From: Atsuhiko Yamanaka [mailto:y...@jcraft.com] 
Sent: 10 May 2012 08:23
To: Butcher, William non Unisys
Cc: jsch-users@lists.sourceforge.net
Subject: Re: [JSch-users] Problem with jsch staying in sleep state

Hi,

   +-From: "Butcher, William non Unisys" <william.butc...@gb.unisys.com> --
   |_Date: Wed, 9 May 2012 16:22:08 +0100 _________________________________
   |
   |Hi I have written a java sftp interface using jsch. I get an
   |intermittent problem when I try transferring a number of files up
   |to 300MB in size (up to 10 files). The transfer works and then for
   |some reason goes into a sleep state and never wakes up again so
   |the connection is maintained but the files do not transfer and the
   |process never finishes. I have done a truss on the process and
   |remains in the sleep state indefinitely. I have change my code to
   |drop the session for each file and then create a new session and
   |channel for each file, but this doesn't seem to work. Sometimes
   |the process will finish without problem but about 50% of the time
   |it seems to get stuck in a sleeping loop. Version of jsch is
   |0.1.47. Running on Solaris 10. I've tried setting
   |setServerAliveInterval(500) but that doesn't work either.

Does that problem happen on the downloading and uploading?

Sincerely,
--
Atsuhiko Yamanaka
JCraft,Inc.
1-14-20 HONCHO AOBA-KU,
SENDAI, MIYAGI 980-0014 Japan.
Tel +81-22-723-2150
Skype callto://jcraft/
Twitter: http://twitter.com/ymnk
Facebook: http://facebook.com/aymnk

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to