apisix icon indicating copy to clipboard operation
apisix copied to clipboard

bug: 下载大文件会断流

Open candicandi opened this issue 5 years ago • 6 comments

Issue description

apisix代理http下载大文件的时候会断流

Environment

  • apisix version (2.1):
  • OS: (centos7.8)
  • openresty/1.19.3.1

apisix下载超过500M的文件时会断流,表现为下载下载到约300-500m时流量突然为0

What's the actual result? (including assertion message & call stack if applicable)

What's the expected result?

candicandi avatar Dec 24 '20 09:12 candicandi

@candicandi Could you please provide a reproducible case?

tokers avatar Dec 24 '20 11:12 tokers

@candicandi 是不是你的nginx.conf 设置了 send_timeout 过短 或这 upstream 的 timeout 设置的过短

OnlyPiglet avatar Dec 29 '20 03:12 OnlyPiglet

The size of the path specified by proxy_temp_path directive may be full. Please check the disk where the path is located. By default the path is ${NGINX_PREFIX} + proxy_temp/ . @candicandi

agile6v avatar Dec 29 '20 12:12 agile6v

ping @candicandi

membphis avatar Dec 29 '20 14:12 membphis

微信截图_20210105085208 Solved.

spacewander avatar Jan 05 '21 00:01 spacewander

微信截图_20210105085208

Solved.

how to solve it?

zsqcc avatar Oct 17 '23 08:10 zsqcc