在仅提供3个请求后,GAE应用程序超过了“Incoming Bandwidth”配额

时间:2012-07-31 08:06:46

标签: python google-app-engine

我在https://paperlink2.appspot.com

有一个低流量网站

我在周末启用了结算来调整数据存储区。完成后,我禁用了结算。

昨天,就在午夜之后,我注意到我的“传入带宽”超过了配额。

由于超额配额恰好发生在午夜,我今天密切关注 - 它在仅提供3个请求之后就开始了... 9 kb ......在3分钟内......

怎么会发生这种情况? 如果GAE团队中的任何人都能快速看一下,我真的很感激~~ 有人可以提出任何建议吗?谢谢!

以下是今天的日志

----------------------------
2012-07-31 00:04:28.071 /js?y=0.29361433181115804 503 100ms 0kb
213.112.244.168 - - [31/Jul/2012:00:04:28 -0700] "GET /js?y=0.29361433181115804 HTTP/1.1" 503 0 - - "paperlink2.appspot.com" ms=100 cpu_ms=0 api_cpu_ms=0 cpm_usd=0.000040 

 2012-07-31 00:03:48.053 /js?y=0.4865090114862315 200 68ms 3kb Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0.1
213.112.244.168 - - [31/Jul/2012:00:03:48 -0700] "GET /js?y=0.4865090114862315 HTTP/1.1" 200 3874 - "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0.1" "paperlink2.appspot.com" ms=69 cpu_ms=0 api_cpu_ms=0 cpm_usd=0.000473 instance=00c61b117c8c6f5d69c0df046a884b741337aa

2012-07-31 00:03:28.231 /js?y=0.5931225973034153 200 188ms 3kb Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0.1
213.112.244.168 - - [31/Jul/2012:00:03:28 -0700] "GET /js?y=0.5931225973034153 HTTP/1.1" 200 3874 - "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0.1" "paperlink2.appspot.com" ms=188 cpu_ms=0 api_cpu_ms=0 cpm_usd=0.000477 instance=00c61b117c8c6f5d69c0df046a884b741337aa

2012-07-31 00:03:19.859 /js?y=0.5153093388288915 200 4576ms 3kb Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0.1
213.112.244.168 - - [31/Jul/2012:00:03:19 -0700] "GET /js?y=0.5153093388288915 HTTP/1.1" 200 3874 - "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0.1" "paperlink2.appspot.com" ms=4576 cpu_ms=957 api_cpu_ms=0 cpm_usd=0.027121 loading_request=1 instance=00c61b117c8c6f5d69c0df046a884b741337aa

I2012-07-31 00:03:19.859
This request caused a new process to be started for your application, and thus caused your application code to be loaded for the first time. This request may thus take longer and use more CPU than a typical request for your application.


2012-07-30 23:59:35.503 / 503 56ms 0kb
165.225.134.101 - - [30/Jul/2012:23:59:35 -0700] "GET / HTTP/1.1" 503 0 - - "paperlink2.appspot.com" ms=56 cpu_ms=0 api_cpu_ms=0 cpm_usd=0.000020 
----------------------------

1 个答案:

答案 0 :(得分:0)

很少注意到:

  1. “midnight”是指哪个时区? Afaik GAE结算日为PST。

  2. 你指的是9kb的传出带宽。

  3. 当资源耗尽时,GAE将产生403错误。我在你提供的日志中看到了这样的错误。