我用卷曲测试清漆 -I http://localhost,我得到:



我正在尝试在mey srever中安装和配置清漆,我想我已经做到了,尽管当我运行teste时,我得到:

卷曲 -I http://localhost

HTTP/1.1 503 后端提取失败 日期:2019 年 8 月 26 日星期一 17:16:50 GMT 服务器:清漆 内容类型:文本/html;字符集=UTF-8 重试时间:5 X-清漆: 32770 年龄: 0 通过:1.1清漆(清漆/5.2) 连接:保持活动状态

任何专家可以帮助我吗? 对于我所看到的,我遇到了这个问题"HTTP/1.1 503后端获取失败",我已经找到了更多内存,但问题仍然存在...

此致敬意 莱昂内尔·努内斯

  • BereqProtocol HTTP/1.0
  • BereqHeader Host: www.test.com
  • BereqHeader X 转发:145.239.78.207
  • BereqHeader grace: none
  • BereqHeader X-Varnish: 30
  • VCL_call BACKEND_FETCH
  • VCL_return提取
  • 后端打开 29 boot.default 145.239.78.207
  • 8080 145.239.78.207 56942
  • 后端启动 145.239.78.207 8080
  • 时间戳 Bereq: 1568108230.028067 0.000121 0.000121
  • BerespProtocol HTTP/1.0
  • 时间戳:1568108230.030388 0.002443 0.002321
  • BerespProtocol HTTP/1.0
  • BerespStatus 200
  • BerespReason OK
  • BerespHeader 日期:2019 年 9 月 10 日星期二 09:37:10 GMT
  • BerespHeader Server: Apache
  • BerespHeader 最后修改日期: 周五, 23 八月 2019 01:46:14 GMT
  • BerespHeader 接受范围:字节
  • BerespHeader 内容长度:7725
  • BerespHeader Cache-Control: max-age=31536000
  • BerespHeader 到期: 星期三, 09 九月 2020 09:37:10 GMT
  • BerespHeader X-Frame-Options: SAMEORIGIN
  • BerespHeader Connection: close
  • BerespHeader Content-Type: image/jpeg
  • VCL_call BACKEND_RESPONSE
  • TTL VCL -1 259200 0 1568108230
  • TTL VCL 120 259200 0 1568108230
  • VCL_return交付
  • 存储 malloc 瞬态
  • ObjProtocol HTTP/1.0
  • 对象状态 200
  • 对象原因确定
  • ObjHeader 日期:2019 年 9 月 10 日星期二 09:37:10 GMT
  • ObjHeader Server: Apache
  • ObjHeader 最后修改时间: 周五, 23 八月 2019 01:46:14 GMT
  • ObjHeader 接受范围:字节
  • ObjHeader 内容长度:7725
  • ObjHeader Cache-Control: max-age=31536000
  • ObjHeader 到期: 星期三, 09 九月 2020 09:37:10 GMT
  • ObjHeader X-Frame-Options: SAMEORIGIN
  • ObjHeader Content-Type: image/jpeg
  • Fetch_Body 3 长度流
  • 后端关闭 29 引导.默认
  • 时间戳正文: 1568108230.030469 0.002524 0.000082
  • 长度 7725
  • BereqAcct 192 0 192 309 7725 8034
  • 结束

  • <<请求>38

  • Begin req 37 rxreq
  • 时间戳开始时间:1568108230.176665 0.000000 0.000000
  • 时间戳要求:1568108230.176665 0.000000 0.000000
  • 需求启动 145.239.78.207 40768
  • 请求方法 获取
  • ReqURL/pub/static/version1567874318/frontend/Swissup/absolute/pt_PT/images/payments/ww.png
  • ReqProtocol HTTP/1.0
  • 请求标头主机:www.test.com
  • 请求标头连接:关闭
  • 请求标头 X 转发:145.239.78.207
  • VCL_call RECV
  • 请求标头宽限:无
  • ReqURL/pub/static/version1567874318/frontend/Swissup/absolute/pt_PT/images/payments/ww.png
  • VCL_return通票
  • VCL_call哈希
  • VCL_return查找
  • VCL_call通票
  • VCL_return提取
  • 链接 bereq 39 通行证
  • 时间戳获取:1568108230.178857 0.002191 0.002191
  • RespProtocol HTTP/1.0
  • 响应状态 200
  • 推荐理由确定
  • 回复日期:2019 年 9 月 10 日星期二 09:37:10 GMT
  • RespHeader Server: Apache
  • RespHeader 最后修改日期: 星期二, 03 九月 2019 16:11:49 GMT
  • 回复标头接受范围:字节
  • 回复标头内容长度:1003
  • RespHeader Cache-Control:max-age=31536000,公共
  • RespHeader 到期: 星期三, 09 九月 2020 09:37:10 GMT
  • RespHeader X-Frame-Options: SAMEORIGIN
  • RespHeader Content-Type: image/png
  • RespProtocol HTTP/1.1
  • 头 X 清漆: 38
  • 回复头年龄: 0
  • RespHeader 通孔:1.1 清漆(清漆/5.2)
  • VCL_call交付
  • 退休年龄: 0
  • VCL_return交付
  • 时间戳进程:1568108230.178877 0.002212 0.000021
  • 回复头连接:关闭
  • 时间戳回复:1568108230.178912 0.002246 0.000035
  • 要求 155
  • 0 155 363 1003 1366
  • 结束

  • <<>37

  • 开始 sess 0 HTTP/1
  • SessOpen 145.239.78.207 40768
  • a0 145.239.78.207 80 1568108230.176609 26
  • Link req 38 rxreq
  • Sess收盘 REQ_CLOSE 0.002
  • 结束

  • <98340

  • 开始 bereq 98339 通行证
  • 时间戳开始时间:1568108230.180024 0.000000 0.000000
  • BereqMethod GET
  • BereqURL/pub/static/version1567874318/frontend/Swissup/absolute/pt_PT/images/payments/PayPal.png
  • BereqProtocol HTTP/1.0
  • BereqHeader Host: www.test.com
  • BereqHeader X 转发:145.239.78.207
  • BereqHeader grace: none
  • BereqHeader X-清漆: 98340
  • VCL_call BACKEND_FETCH
  • VCL_return提取
  • 后端打开 29 引导.default 145.239.78.207
  • 8080 145.239.78.207 56974
  • 后端启动 145.239.78.207 8080
  • 时间戳 Bereq: 1568108230.180132 0.000108 0.000108
  • BerespProtocol HTTP/1.0
  • 时间戳:1568108230.181992 0.001968 0.001860
  • BerespProtocol HTTP/1.0
  • BerespStatus 200
  • BerespReason OK
  • BerespHeader 日期:2019 年 9 月 10 日星期二 09:37:10 GMT
  • BerespHeader Server: Apache
  • BerespHeader 最后修改日期: 星期二, 03 九月 2019 16:11:49 GMT
  • BerespHeader 接受范围:字节
  • BerespHeader 内容长度:1757
  • BerespHeader Cache-Control:max-age=31536000,公共
  • BerespHeader 到期: 星期三, 09 九月 2020 09:37:10 GMT
  • BerespHeader X-Frame-Options: SAMEORIGIN
  • BerespHeader Connection: close
  • BerespHeader Content-Type: image/png
  • VCL_call BACKEND_RESPONSE
  • TTL VCL -1 259200 0 1568108230
  • TTL VCL 120 259200 0 1568108230
  • VCL_return交付
  • 存储 malloc 瞬态
  • ObjProtocol HTTP/1.0
  • 对象状态 200
  • 对象原因确定
  • ObjHeader 日期:2019 年 9 月 10 日星期二 09:37:10 GMT
  • ObjHeader Server: Apache
  • ObjHeader 最后修改时间: 星期二, 03 九月 2019 16:11:49 GMT
  • ObjHeader 接受范围:字节
  • ObjHeader 内容长度:1757
  • ObjHeader Cache-Control:max-age=31536000,公共
  • ObjHeader 到期: 星期三, 09 九月 2020 09:37:10 GMT
  • ObjHeader X-Frame-Options: SAMEORIGIN
  • ObjHeader 内容类型:image/png
  • Fetch_Body 3 长度流
  • 后端关闭 29 引导.默认
  • 时间戳正文: 1568108230.182080 0.002055 0.000088
  • 长度 1757
  • BereqAcct 204 0 204 316 1757 2073
  • 结束

  • <<请求>98339

  • 开始 req 98338 rxreq
  • 时间戳开始时间:1568108230.179969 0.000000 0.000000
  • 时间戳要求:1568108230.179969 0.000000 0.000000
  • 需求启动 145.239.78.207 40772
  • 请求方法 获取
  • ReqURL/pub/static/version1567874318/frontend/Swissup/absolute/pt_PT/images/payments/PayPal.png
  • ReqProtocol HTTP/1.0
  • 请求标头主机:www.test.com
  • 请求标头连接:关闭
  • 请求标头 X 转发:145.239.78.207
  • VCL_call RECV
  • 请求标头宽限:无
  • ReqURL/pub/static/version1567874318/frontend/Swissup/absolute/pt_PT/images/payments/PayPal.png
  • VCL_return通票
  • VCL_call哈希
  • VCL_return查找
  • VCL_call通票
  • VCL_return提取
  • 链接 bereq 98340 通行证
  • 时间戳获取:1568108230.182061 0.002092 0.002092
  • RespProtocol HTTP/1.0
  • 响应状态 200
  • 推荐理由确定
  • 回复日期:2019 年 9 月 10 日星期二 09:37:10 GMT
  • RespHeader Server: Apache
  • RespHeader 最后修改日期: 星期二, 03 九月 2019 16:11:49 GMT
  • 回复标头接受范围:字节
  • 回复标头内容长度:1757
  • RespHeader Cache-Control:max-age=31536000,公共
  • RespHeader 到期: 星期三, 09 九月 2020 09:37:10 GMT
  • RespHeader X-Frame-Options: SAMEORIGIN
  • RespHeader Content-Type: image/png
  • RespProtocol HTTP/1.1
  • RespHeader X-清漆: 98339
  • 回复头年龄: 0
  • RespHeader 通孔:1.1 清漆(清漆/5.2)
  • VCL_call交付
  • 退休年龄: 0
  • VCL_return交付
  • 时间戳进程:1568108230.182087 0.002118 0.000026
  • 回复头连接:关闭
  • 时间戳或:1568108230.182146 0.002177 0.000058
  • 要求账户 159
  • 0 159 366 1757 2123
  • 结束

没有足够的细节来提供简洁的答案。

为了将问题减少一半,请尝试浏览后端服务器的http地址?

另一个重要的考虑因素,您是否正确配置了/etc/varnish/user.vcl ?

这是一个清漆教程...https://www.linode.com/docs/websites/varnish/getting-started-with-varnish-cache/

最后,找到 Varnish 日志文件的位置以获取更多详细信息。

我将发布一个完整的日志:

清漆日志 *<84 - 开始 bereq 83 获取 - 时间戳开始:1566844978.393604 0.000000 0.000000 - 贝雷克方法- BereqURL/index.php/giantpointsadmin/adminhtml_earning_rate/index - BereqProtocol HTTP/1.1 - BereqHeader 主机:www.test.pt - BereqHeader User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.1 Safari/537.36 - BereqHeader X 转发:51.89.7.90 - BereqHeader grace:无 - BereqHeader Accept-Encoding: gzip - BereqHeader X-清漆:84 - VCL_call BACKEND_FETCH - VCL_return获取 - 获取错误没有后端连接 - 时间戳:1566844978.393680 0.000077 0.000077 - 时间戳错误:1566844978.393687 0.000083 0.000007 - BerespProtocol HTTP/1.1 - 503 - BerespReason 服务不可用 - BerespReason 后端获取失败 - BerespHeader 日期:2019 年 8 月 26 日星期一 18:42:58 GMT - BerespHeader Server: Varnish - VCL_call BACKEND_ERROR - BerespHeader Content-Type: text/html;字符集=UTF-8- BerespHeader 重试后:5 - VCL_return交付 - 存储马尔洛克瞬态 - ObjProtocol HTTP/1.1 - 对象状态 503 - 对象原因后端获取失败 - ObjHeader 日期:2019 年 8 月 26 日星期一 18:42:58 GMT - ObjHeader Server: Varnish - ObjHeader Content-Type: text/html;字符集=UTF-8 - ObjHeader 重试后:5 - 长度 279 - BereqAcct 0 0 0 0 0 0 0 -结束

  • <<请求>83
  • 开始 req 82 rxreq
  • 时间戳开始:1566844978.384062 0.000000 0.000000
  • 时间戳要求:1566844978.393264 0.009202 0.009202
  • 要求启动 51.89.7.90 55715
  • 请求方法 获取
  • ReqURL/index.php/giantpointsadmin/adminhtml_earning_rate/index
  • 请求协议 HTTP/1.1
  • 请求标头主机:www.test.pt
  • 请求标头连接:保持活动状态
  • ReqHeader Accept-Encoding: gzip,deflate
  • ReqHeader User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.1 Safari/537.36
  • 请求标头 X 转发:51.89.7.90
  • VCL_call RECV
  • 请求标头宽限:无
  • ReqURL/index.php/giantpointsadmin/adminhtml_earning_rate/index
  • ReqUnset Accept-Encoding: gzip,deflate
  • ReqHeader Accept-Encoding: gzip
  • VCL_return哈希
  • VCL_call哈希
  • VCL_return查找
  • VCL_call小姐
  • VCL_return提取
  • Link bereq 84 fetch
  • 时间戳获取:1566844978.393832 0.009770 0.000568
  • RespProtocol HTTP/1.1
  • 响应状态 503
  • 回复原因后端获取失败
  • 回复日期:2019 年 8 月 26 日星期一 18:42:58 GMT
  • RespHeader Server: Varnish
  • RespHeader Content-Type: text/html; charset=utf-8
  • RespHeader 重试时间:5
  • RespHeader X-清漆: 83
  • 回复头年龄: 0
  • RespHeader 通孔:1.1 清漆(清漆/5.2)
  • VCL_call交付
  • VCL_return交付
  • 时间戳进程:1566844978.393857 0.009795 0.000025
  • 标头内容长度:279
  • RespHeader Connection:保持活动状态
  • 时间戳或:1566844978.393929 0.009868 0.000072
  • 要求账户 266
  • 0 266 247 279 526
  • 结束

  • <<>82

  • 开始 sess 0 HTTP/1
  • SessOpen 51.89.7.90 55715 a0 145.239.78.207 80 1566844978.383924 25
  • Link req 83 rxreq
  • 收盘价 REM_CLOSE 0.020
  • 结束

  • <32855

  • 开始 bereq 32854 通行证
  • 时间戳开始:1566844978.423125 0.000000 0.000000
  • BereqMethod POST
  • BereqURL/index.php/giantpointsadmin/adminhtml_earning_rate/index/
  • BereqProtocol HTTP/1.1
  • BereqHeader Host: www.test.pt
  • BereqHeader Accept-Encoding: gzip,deflate
  • BereqHeader Content-Type: multipart/form-data; boundary=----------------7O12ZqAnhn621bBI
  • BereqHeader 内容长度:326
  • BereqHeader User-Agent: Opera/9.80 (Windows NT 6.0);U) Presto/2.12.388 版本/12.16
  • BereqHeader Cookie: adminhtml=86g8r80a2uhrf66b95f2lnslo0
  • BereqHeader X-转发:51.89.7.90
  • BereqHeader X-清漆: 32855
  • VCL_call BACKEND_FETCH
  • VCL_return提取
  • 获取错误没有后端连接
  • 时间戳 Beresp:1566844978.423157 0.000033 0.000033
  • 时间戳错误:1566844978.423165 0.000040 0.000008
  • BerespProtocol HTTP/1.1
  • 最佳状态 503
  • BerespReason Service 不可用
  • BerespReason 后端获取失败
  • BerespHeader 日期:2019 年 8 月 26 日星期一 18:42:58 GMT
  • BerespHeader Server: Varnish
  • VCL_call BACKEND_ERROR
  • BerespHeader Content-Type: text/html; charset=utf-8
  • BerespHeader 重试时间:5
  • VCL_return交付
  • 存储 malloc 瞬态
  • ObjProtocol HTTP/1.1
  • 对象状态 503
  • 对象原因后端获取失败
  • ObjHeader 日期:2019 年 8 月 26 日星期一 18:42:58 GMT
  • ObjHeader Server: Varnish
  • ObjHeader Content-Type: text/html; charset=utf-8
  • ObjHeader 重试时间:5
  • 长度 282
  • BereqAcct
  • 0 0 0 0 0 0 0
  • 结束

  • <<请求>32854

  • 开始 req 32853 rxreq
  • 时间戳开始:1566844978.413495 0.000000 0.000000
  • 时间戳要求:1566844978.422953 0.009458 0.009458
  • 要求启动 51.89.7.90 55717
  • 请求方法发布
  • ReqURL/index.php/giantpointsadmin/adminhtml_earning_rate/index/
  • 请求协议 HTTP/1.1
  • 请求标头主机:www.test.pt
  • 请求标头连接:保持活动状态
  • ReqHeader Accept-Encoding: gzip,deflate
  • ReqHeader Content-Type: multipart/form-data; boundary=----------------7O12ZqAnhn621bBI
  • 请求标头内容长度:326
  • ReqHeader User-Agent: Opera/9.80 (Windows NT 6.0);U) Presto/2.12.388 版本/12.16
  • ReqHeader Cookie: adminhtml=86g8r80a2uhrf66b95f2lnslo0
  • 请求标头 X 转发:51.89.7.90
  • VCL_call RECV
  • VCL_return通票
  • VCL_call哈希
  • VCL_return查找
  • VCL_call通票
  • VCL_return提取
  • 链接 bereq 32855 通行证
  • 时间戳获取:1566844978.423294 0.009799 0.000341
  • 存储 malloc 瞬态
  • 时间戳要求正文:1566844978.423314 0.009819 0.000020
  • RespProtocol HTTP/1.1
  • 响应状态 503
  • 回复原因后端获取失败
  • 回复日期:2019 年 8 月 26 日星期一 18:42:58 GMT
  • RespHeader Server: Varnish
  • RespHeader Content-Type: text/html; charset=utf-8
  • RespHeader 重试时间:5
  • RespHeader X-清漆: 32854
  • 回复头年龄: 0
  • RespHeader 通孔:1.1 清漆(清漆/5.2)
  • VCL_call交付
  • VCL_return交付
  • 时间戳进程:1566844978.423336 0.009841 0.000022
  • 标头内容长度:282
  • RespHeader Connection:保持活动状态
  • 时间戳或:1566844978.423392 0.009897 0.000056
  • 要求账户 374 326 700 250 282 532
  • 结束

  • <<会话>32853

  • 开始 sess 0 HTTP/1
  • SessOpen 51.89.7.90 55717 a0 145.239.78.207 80 1566844978.413439 24
  • 链接 req 32854 rxreq
  • 收盘价 REM_CLOSE 0.020
  • 结束

此致敬意 莱昂内尔·努内斯

相关内容

最新更新