Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/unix/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails 3.1 Rails日志记录127.0.0.1每5分钟一次_Ruby On Rails 3.1_Localhost_Production Environment - Fatal编程技术网

Ruby on rails 3.1 Rails日志记录127.0.0.1每5分钟一次

Ruby on rails 3.1 Rails日志记录127.0.0.1每5分钟一次,ruby-on-rails-3.1,localhost,production-environment,Ruby On Rails 3.1,Localhost,Production Environment,我在我的生产Rails日志中注意到,每隔5分钟,我就会收到一个从127.0.0.1到我的根url的GET请求,这显然是我的本地主机 Started GET "/" for 127.0.0.1 at 2012-07-01 14:05:03 -0500 Processing by ApplicationController#landing as */* Rendered shared/_header.html.erb (0.9ms) Rendered shared/_footer.html.er

我在我的生产Rails日志中注意到,每隔5分钟,我就会收到一个从127.0.0.1到我的根url的GET请求,这显然是我的本地主机

Started GET "/" for 127.0.0.1 at 2012-07-01 14:05:03 -0500
  Processing by ApplicationController#landing as */*
Rendered shared/_header.html.erb (0.9ms)
Rendered shared/_footer.html.erb (0.5ms)
Rendered application/landing.html.erb (5.7ms)
Completed 200 OK in 8ms (Views: 7.9ms)

我从未在任何其他Rails应用程序中看到过这一点。我正在使用New Relic、MongoDB、Nginx和Unicorn。有人能告诉我为什么会发生这种情况或者这意味着什么吗?

这很可能是一个监控应用程序,特别是因为它只检查根路径是否有成功的连接(即HTTP 200)。您是否安装了诸如monit之类的工具?您使用的是哪家主机提供商?他们可能会在您不知道的情况下进行监视。

它来自本地主机,所以可能不会。我使用rackspace并注意到类似的内部请求。