0
我有我的当前配置问题。磅+清漆+阿帕奇 - 磅挂
我试图在上线之前对我的平台进行压力测试,并且发现了一些相关的东西。
英镑的conf:
User "pound"
Group "pound"
Control "/var/lib/pound/pound.cfg"
#TimeOut 150
LogLevel 3
LogFacility local1
ListenHTTP
Address 0.0.0.0
Port 80
xHTTP 0
Service
BackEnd
Address 127.0.0.1
Port 9080
End
End
End
ListenHTTPS
HeadRemove "X-Forwarded-Proto"
AddHeader "X-Forwarded-Proto: https"
Address 0.0.0.0
Port 443
Cert "/etc/httpd/ssl/pound.pem"
xHTTP 0
Service
BackEnd
Address 127.0.0.1
Port 9443
End
End
End
光油的conf:
backend default {
.host = "127.0.0.1";
.port = "8080";
}
backend default_ssl {
.host = "127.0.0.1";
.port = "8443";
}
然后阿帕奇听8080和8443
的问题是,经过20个RPS,我挂英镑(上图所示没有任何问题),如果我直接访问ip:8080以及ip:9080,则表示Varnish和Apache都可以。
只要我杀了我的压力测试机器,页面加载。
我发现的唯一相关日志是xx SessionClose c timeout
在Varnishlog中无处不在。
我试图使用Google Cloud HTTP/HTTPS负载平衡器摆脱英镑,但尚未成功使其与HTTPS协同工作。