原文:upstream timed out (10060: A connection attempt failed because the connected party did not properly respond

openresty 錯誤日志報錯內容: nginx.conf配置如下: 報錯信息中看到: 顯然是 localhost 使用了 IPV 去訪問,導致出現問題。 將 locaohost改成 . . . 即可: ...

2019-01-22 17:50 0 6092 推薦指數:

查看詳情

vuser_end.c(3): Error -27796: Failed to connect to server "10.204.105.204:9192": [10060] Connection timed out

分析 因為負載生成器的性能太好,發數據包特別快,服務器也響應特別快,從而導致負載生成器的機器的端口在沒有timeout之前就全部占滿了。在全部占滿后,就會出現上面的錯誤。執行netstat–na命令,可以看到打開了很多端口。所以就調整TCP的time out。即在最后一個 ...

Fri Jan 01 01:23:00 CST 2016 0 1923
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM