但是当我进行1M大小的文件并发测试的时候,就出现以下错误,还望能够帮忙看一下:
2018-06-03 22:48:58,056 [pool-1-thread-10] ERROR com.github.tobato.fastdfs.proto.AbstractFdfsCommand – receive conent error java.io.IOException: recv cmd: 48 is not correct, expect cmd: 100 at com.github.tobato.fastdfs.proto.ProtoHead.validateResponseHead(ProtoHead.java:114) at com.github.tobato.fastdfs.proto.AbstractFdfsCommand.receive(AbstractFdfsCommand.java:101) at com.github.tobato.fastdfs.proto.AbstractFdfsCommand.execute(AbstractFdfsCommand.java:45) at com.github.tobato.fastdfs.conn.ConnectionManager.execute(ConnectionManager.java:76) at com.github.tobato.fastdfs.conn.ConnectionManager.executeFdfsCmd(ConnectionManager.java:61) at com.github.tobato.fastdfs.service.DefaultFastFileStorageClient.uploadFileAndMataData(DefaultFastFileStorageClient.java:154) at com.github.tobato.fastdfs.service.DefaultFastFileStorageClient.uploadFile(DefaultFastFileStorageClient.java:61) at com.bsoft.thread.FastdfsThread2.run(FastdfsThread2.java:52) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722)
2018-06-03 22:49:00,253 [pool-1-thread-27] ERROR com.github.tobato.fastdfs.proto.AbstractFdfsCommand – receive conent error java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:150) at java.net.SocketInputStream.read(SocketInputStream.java:121) at java.net.SocketInputStream.read(SocketInputStream.java:107) at com.github.tobato.fastdfs.proto.ProtoHead.createFromInputStream(ProtoHead.java:94) at com.github.tobato.fastdfs.proto.AbstractFdfsCommand.receive(AbstractFdfsCommand.java:98) at com.github.tobato.fastdfs.proto.AbstractFdfsCommand.execute(AbstractFdfsCommand.java:45) at com.github.tobato.fastdfs.conn.ConnectionManager.execute(ConnectionManager.java:76) at com.github.tobato.fastdfs.conn.ConnectionManager.executeFdfsCmd(ConnectionManager.java:61) at com.github.tobato.fastdfs.service.DefaultFastFileStorageClient.uploadFileAndMataData(DefaultFastFileStorageClient.java:154) at com.github.tobato.fastdfs.service.DefaultFastFileStorageClient.uploadFile(DefaultFastFileStorageClient.java:61) at com.bsoft.thread.FastdfsThread2.run(FastdfsThread2.java:52) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722)