【发布时间】:2021-01-03 09:52:31
【问题描述】:
我正在尝试使用 git push 将一些存储库从一台服务器推送到另一台服务器。它适用于规模巨大(如 90GB)但内部引用/对象数量较少(大约 10,000 多个)的项目。但是,当我尝试推送一个相对较小的项目(如 2GB)时,它有大量的 refs(大约 100,000+),它会因超时错误而失败,如下所示:
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
我也从服务器端检查过,这是我遇到的错误:(70007)The timeout specified has expired: ap_content_length_filter: apr_bucket_read() failed
到目前为止,我已经尝试了以下方法,但没有成功:
- KeepAlive On(在 apache httpd.conf 中)
- 超时 36000(在 apache httpd.conf 中)
- KeepAliveTimeout 36000(在 apache httpd.conf 中)
- nginx.ingress.kubernetes.io/proxy-connect-timeout = 36000(入口注解)
- nginx.ingress.kubernetes.io/proxy-read-timeout = 36000(入口注解)
- nginx.ingress.kubernetes.io/proxy-send-timeout = 36000(入口注解)
知道为什么会出现这种情况以及解决方法吗?
【问题讨论】:
标签: git apache nginx kubernetes kubernetes-ingress