Hi,

I am using the ScpTo example
(http://www.jcraft.com/jsch/examples/ScpTo.java)  to copy files(250
MB)  from one host to another.
Intermittently the last call to the checkAck(in) hangs.

I added more debug statements and found the in.read in the checkAck
method is blocked indefinitely.

        private int checkAck(InputStream in) throws IOException
        {

                int b = in.read(); //blocked on read
                ...
                ...

                }

What could be the possible reason for this. How do I go about
debugging this issue. ?

thanks,
Prakash

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to