sftp server die thread blocking during sftp ls execution
Opened this issue · 4 comments
version 0.1.54
I also met this issue with
com.jcraft
jsch
0.1.55
"eaf.sync-data1" #1464 prio=5 os_prio=0 tid=0x0000fffa708de800 nid=0xa3ea0 in Object.wait() [0x0000fff8eedfd000]
java.lang.Thread.State: BLOCKED (on object monitor)
at java.lang.Object.wait(Native Method)
at java.io.PipedInputStream.read(PipedInputStream.java:326)
- eliminated <0x000000068c804b88> (a com.jcraft.jsch.Channel$MyPipedInputStream)
at java.io.PipedInputStream.read(PipedInputStream.java:377)
- locked <0x000000068c804b88> (a com.jcraft.jsch.Channel$MyPipedInputStream)
at java.io.InputStream.skip(InputStream.java:224)
at com.jcraft.jsch.ChannelSftp.skip(ChannelSftp.java:2921)
at com.jcraft.jsch.ChannelSftp.access$600(ChannelSftp.java:36)
at com.jcraft.jsch.ChannelSftp$RequestQueue.cancel(ChannelSftp.java:1270)
at com.jcraft.jsch.ChannelSftp$2.read(ChannelSftp.java:1501)
at com.jcraft.jsch.ChannelSftp$2.read(ChannelSftp.java:1364)
at org.springframework.util.StreamUtils.copy(StreamUtils.java:166)
at org.springframework.util.FileCopyUtils.copy(FileCopyUtils.java:112)
at org.springframework.util.FileCopyUtils.copyToByteArray(FileCopyUtils.java:152)