尽管禁用了运行状况检查,Google云应用引擎仍在ping我的服务器

时间:2017-01-19 02:32:10

标签: google-app-engine google-cloud-platform

我在google云应用引擎上部署了一个rails应用程序,我每隔一秒钟就会收到这样的ping:

19:23:59.883 200 2 B 0 ms GET GoogleHC/1.0 /_ah/vm_health
19:23:58.944 200 2 B 0 ms GET GoogleHC/1.0 /_ah/vm_health 
19:23:58.700 200 2 B 0 ms GET GoogleHC/1.0 /_ah/vm_health 
19:23:57.317 200 2 B 0 ms GET GoogleHC/1.0 /_ah/vm_health 
19:23:57.300 200 2 B 0 ms GET GoogleHC/1.0 /_ah/vm_health 
19:23:56.961 200 2 B 0 ms GET GoogleHC/1.0 /_ah/vm_health 
19:23:54.883 200 2 B 0 ms GET GoogleHC/1.0 /_ah/vm_health 
19:23:53.943 200 2 B 0 ms GET GoogleHC/1.0 /_ah/vm_health 
19:23:53.699 200 2 B 0 ms GET GoogleHC/1.0 /_ah/vm_health 
19:23:52.317 200 2 B 0 ms GET GoogleHC/1.0 /_ah/vm_health 
19:23:52.299 200 2 B 0 ms GET GoogleHC/1.0 /_ah/vm_health 
19:23:51.961 200 2 B 0 ms GET GoogleHC/1.0 /_ah/vm_health 
19:23:49.882 200 2 B 0 ms GET GoogleHC/1.0 /_ah/vm_health 

我已在app.yaml

中禁用了运行状况检查
health_check:
  enable_health_check: False

如何停止这些检查?我担心我被收取流量费用

1 个答案:

答案 0 :(得分:1)

所以,似乎URL /_ah/vm_health返回503,然后重试。你能获得该网址返回200吗?这应该会停止循环。