pull/10/MERGE
tanghc 4 years ago
parent d0fe92a96c
commit 888825ba50
  1. 1
      changelog.md
  2. 8
      doc/docs/files/90100_常见问题.md
  3. 1
      sop-gateway/src/main/resources/META-INF/gateway.properties

@ -4,6 +4,7 @@
- 升级`spring-boot/spring-cloud/spring-cloud-alibaba`版本 - 升级`spring-boot/spring-cloud/spring-cloud-alibaba`版本
- 修复`DataBufferLimitException: Exceeded limit on max bytes to buffer : 262144`问题 - 修复`DataBufferLimitException: Exceeded limit on max bytes to buffer : 262144`问题
- 修复压测出现`ClosedChannelException`问题
## 4.2.7 ## 4.2.7

@ -1,5 +1,13 @@
# 常见问题 # 常见问题
## Connection has been closed BEFORE send operation
压测时出现`Connection has been closed BEFORE send operation`,`java.nio.channels.ClosedChannelException`之类的错误
- 解决办法
尝试调大内存分配1G或2G,`-Xms1g -Xmx1g`
## spring cloud gateway [DataBufferLimitException: Exceeded limit on max bytes to buffer : 262144] ## spring cloud gateway [DataBufferLimitException: Exceeded limit on max bytes to buffer : 262144]
如果POST请求body内容太大可能会报这个错误 如果POST请求body内容太大可能会报这个错误

@ -36,6 +36,7 @@ spring.cloud.gateway.discovery.locator.lower-case-service-id=true
spring.cloud.gateway.discovery.locator.enabled=true spring.cloud.gateway.discovery.locator.enabled=true
# \u54CD\u5E94\u8D85\u65F6\uFF0C\u9ED8\u8BA410\u79D2\uFF0810000\uFF09 # \u54CD\u5E94\u8D85\u65F6\uFF0C\u9ED8\u8BA410\u79D2\uFF0810000\uFF09
spring.cloud.gateway.httpclient.response-timeout=10000 spring.cloud.gateway.httpclient.response-timeout=10000
spring.cloud.gateway.httpclient.pool.max-idle-time=60000
# \u4E0D\u7528\u6539 # \u4E0D\u7528\u6539
mybatis.mapper-locations=classpath:mybatis/mapper/*.xml mybatis.mapper-locations=classpath:mybatis/mapper/*.xml

Loading…
Cancel
Save