请原谅任何错误的措辞,因为我对Apache很新。
我正在使用一些自动化脚本测试网上商店网站,其中付款部分转到另一台服务器,然后返回原始服务器。当自动化脚本从支付网关服务器返回并返回到原始Web商店站点时,会发生延迟。延迟时间一直在5到10分钟之间。
我正在使用Ruby和Mechanize gem,但这似乎不是问题。
付款部分是一个非常简单的PHP应用程序。
这里有一点来自显示大量延迟的日志。为公众的目光删除了域名等:
[19/Jul/2011:01:49:39 +0000] "GET HTTP/1.1" 401 672 "-" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; de-at) AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/531.21.10"
[19/Jul/2011:01:49:39 +0000] "GET HTTP/1.1" 200 12934 "-" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; de-at) AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/531.21.10"
[19/Jul/2011:01:49:39 +0000] "POST HTTP/1.1" 302 488 "..." "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; de-at) AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/531.21.10"
[19/Jul/2011:01:49:39 +0000] "GET HTTP/1.1" 200 5146 "..." "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; de-at) AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/531.21.10"
[19/Jul/2011:01:49:39 +0000] "POST HTTP/1.1" 302 465 "..." "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; de-at) AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/531.21.10"
[19/Jul/2011:01:49:39 +0000] "GET HTTP/1.1" 302 330 "..." "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; de-at) AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/531.21.10"
[19/Jul/2011:01:49:39 +0000] "GET HTTP/1.1" 200 5262 "..." "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; de-at) AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/531.21.10"
[19/Jul/2011:01:49:44 +0000] "POST HTTP/1.1" 200 6821 "-" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; de-at) AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/531.21.10"
127.0.0.1 - - [19/Jul/2011:01:53:46 +0000] "OPTIONS * HTTP/1.0" 200 152 "-" "Apache/2.2.14 (Ubuntu) (internal dummy connection)"
我只是使用IP地址,因此DNS不起作用。
如果您需要更多信息,请与我们联系。谢谢!