Closed qinliang373 closed 1 year ago
做为图片服务,上传图片有时会报如下异常,导致上传失败。在什么情况下会导致这种异常发生? Caused by: com.alipay.remoting.exception.RemotingException: Check connection failed for address: Origin url [bolt://X.X.X.X:20113?accepts=100000&appNam e=oss-provider&weight=100&language=java&pid=24729&interface=com.test.StorageFacade&timeout=0&serialization=hessian2&protocol=bolt&delay= -1&dynamic=true&startTime=1611211023168&id=storageService&uniqueId=&rpcVer=50501], Unique key [x.x.x.x:20113]., maybe write overflow! describe your question clearly
describe your use scenes (why need this feature)
describe the advice or solution you'd like
java -version
uname -a
你可以看看设置下下面的两个参数:
-Dbolt.netty.buffer.high.watermark=XXXX -Dbolt.netty.buffer.low.watermark=XXXX
Integer.toString(64 * 1024);
Integer.toString(32 * 1024);
可以调大点儿看看。
Your question
做为图片服务,上传图片有时会报如下异常,导致上传失败。在什么情况下会导致这种异常发生? Caused by: com.alipay.remoting.exception.RemotingException: Check connection failed for address: Origin url [bolt://X.X.X.X:20113?accepts=100000&appNam e=oss-provider&weight=100&language=java&pid=24729&interface=com.test.StorageFacade&timeout=0&serialization=hessian2&protocol=bolt&delay= -1&dynamic=true&startTime=1611211023168&id=storageService&uniqueId=&rpcVer=50501], Unique key [x.x.x.x:20113]., maybe write overflow! describe your question clearly
Your scenes
describe your use scenes (why need this feature)
Your advice
describe the advice or solution you'd like
Environment
java -version
): jdk1.8uname -a
): centos