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協同工作。