我正在运行带有mod_tile的Apache的地图图块服务器。
服务器每秒大约收到10个请求。
服务器在一天中的大部分时间都能正常工作,但是我会把这些随机服务器“冻结”。这些随机的5分钟冻结每天随机发生2-3次。看来Apache在这段时间内停止接受请求了?
See system load during a freeze。请参阅底部的“公共带宽”图表。在右侧,您可以看到出站流量下降了-这是冻结发生的时间。所有其他系统统计信息看起来都很正常。
5-10分钟后,冻结将“修复”。
以下是冻结期间access.log
的摘要。冻结从14:01:18开始,系统在14:06:14恢复正常。
69.158.20.237 - - [23/Apr/2019:14:01:17 +0000] "GET /hot/17/36646/47835.png HTTP/1.1" 200 18392 "https://www.mysite.ca/map/43.651611&-79.360015&17" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36"
69.158.20.237 - - [23/Apr/2019:14:01:17 +0000] "GET /hot/17/36646/47833.png HTTP/1.1" 200 17406 "https://www.mysite.ca/map/43.651611&-79.360015&17" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36"
69.158.20.237 - - [23/Apr/2019:14:01:17 +0000] "GET /hot/17/36646/47836.png HTTP/1.1" 200 30092 "https://www.mysite.ca/map/43.651611&-79.360015&17" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36"
184.175.22.23 - - [23/Apr/2019:14:01:18 +0000] "GET /hot/14/4572/5978.png HTTP/1.1" 200 73673 "https://www.mysite.ca/map/43.658775&-79.464724&13" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36"
69.158.20.237 - - [23/Apr/2019:14:01:18 +0000] "GET /hot/17/36647/47835.png HTTP/1.1" 200 16931 "https://www.mysite.ca/map/43.653908&-79.353299&17" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36"
72.139.207.185 - - [23/Apr/2019:14:06:14 +0000] "GET /hot/14/4560/5972.png HTTP/1.1" 200 31375 "https://www.mysite.ca/map/43.741305&-79.805202&14" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36"
72.139.207.185 - - [23/Apr/2019:14:06:14 +0000] "GET /hot/14/4561/5972.png HTTP/1.1" 200 49864 "https://www.mysite.ca/map/43.741305&-79.805202&14" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36"
72.139.207.185 - - [23/Apr/2019:14:06:14 +0000] "GET /hot/14/4557/5972.png HTTP/1.1" 200 17749 "https://www.mysite.ca/map/43.741305&-79.805202&14" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36"
184.175.22.23 - - [23/Apr/2019:14:06:14 +0000] "GET /hot/13/2284/2990.png HTTP/1.1" 200 88895 "https://www.mysite.ca/map/43.666105&-79.444001&14" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36"
有人知道为什么Apache会随机冻结5-10分钟吗?