首页 文章

Google App Engine:高CPU利用率

提问于
浏览
2

我有大约5个项目,在Google App Engine上有简单的正在构建的消息,最近它们被暂停,原因如下:

Violation of Cloud Platform Terms Of Service

当我联系谷歌团队时,我得到了这个:

XXXX,

Can you provide with a detailed description as 
to what your projects were doing? 

We detected high CPU utilization from each of your projects.

XXXX.

假设应用程序中的所有页面/内容都是根据服务条款,我们不能将分配的实例用于它的完整峰值吗?

我尝试在他们的 Cloud 平台的TOS中找到CPU利用率 . 但没有找到 .

根据Google的 Cloud 平台服务条款使用实例的CPU利用率有哪些限制?

可能导致我的Google App Engine项目暂停的其他原因是什么,其中包含一个正在建设的页面?

这些域名几乎没有任何访问 .

不确定这些日志是否说了什么,但我网站的一些日志如下:

2014-11-25 17:29:48.342 200 1.23 KB 30ms /
192.99.107.208 - - [25/Nov/2014:03:59:48 -0800] 
"GET / HTTP/1.1" 200 1257 - "Mozilla/5.0 (compatible; meanpathbot/1.0; +http://www.meanpath.com/meanpathbot.html)" 
"www.sai.rocks" ms=30 cpu_ms=0 cpm_usd=0.000140 instance=00c61b117ce5cd4a31855df6764c84b074be61 app_engine_release=1.9.16

2014-11-26
2014-11-26 14:46:37.970 200 2.63 KB 212ms /
54.146.190.175 - - [26/Nov/2014:01:16:37 -0800] 
"GET / HTTP/1.1" 200 2691 - "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3)" 
"sai.rocks" ms=212 cpu_ms=93 cpm_usd=0.000301 loading_request=1 instance=00c61b117ca07c5404865802f60f07f42379a8 app_engine_release=1.9.16
14:46:37.968 
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.

2014-11-27
2014-11-27 17:31:17.131 200 1.23 KB 16ms /robots.txt
66.249.69.204 - - [27/Nov/2014:04:01:17 -0800] 
"GET /robots.txt HTTP/1.1" 200 1257 - "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" 
"sasidhar.sai.rocks" ms=16 cpu_ms=0 cpm_usd=0.000140 instance=00c61b117ca07c5404865802f60f07f42379a8 app_engine_release=1.9.16
2014-11-27 17:31:17.358 200 1.23 KB 73ms /
66.249.69.172 - - [27/Nov/2014:04:01:17 -0800] 
"GET / HTTP/1.1" 200 1257 - "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" 
"sasidhar.sai.rocks" ms=73 cpu_ms=23 cpm_usd=0.000140 instance=00c61b117ca07c5404865802f60f07f42379a8 app_engine_release=1.9.16

2014-11-28
2014-11-28 00:38:30.805 200 1.23 KB 49ms /
66.249.69.56 - - [27/Nov/2014:11:08:30 -0800] 
"GET / HTTP/1.1" 200 1257 - "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" 
"sasidhar.sai.rocks" ms=49 cpu_ms=47 cpm_usd=0.000140 instance=00c61b117ca07c5404865802f60f07f42379a8 app_engine_release=1.9.16

Edit

利用率图表:Utilization Graph

2 回答

  • -1

    我回复了以上邮件(在问题中添加)以下内容

    Hi xxxx,
    
    Thanks for the details.
    
    All of the 5 projects that were suspended have just one single 
    static page with Google Analytics using Google Tag Manager. 
    And nothing else.
    
    My suspended projects are : 
    xxx-xxxxxxx-xx, xxx-xxxxxxx-xx, xxx-xxxxxxx-xx, xxx-xxxxxxx-xx, 
    xxx-xxxxxxx-xx
    
    In fact all the 21 projects that I have contain one and only one 
    single static page as said above. Not a single other file.
    
    I didn't get any notification mail regarding this incident 
    (High CPU Utilization) for any of the above suspended projects.
    
    Could you please elaborate on High CPU Utilization? Is this 
    on number of requests per second? or a single process taking 
    entire CPU and stopping other requests to process? or 
    something else?
    
    Let me know if you need anything from my side 
    
    Thanks,
    XXXXXXXXX.
    

    为此,我得到了Google的回复,没有提到暂停我的帐户的任何理由,他们只是暂停我的所有项目 .

    这是我收到的回复

    Hi xxxxxx,
    
    I have reinstated your projects. Please give it a few minutes for 
    the effect to propagate.
    
    Thanks,
    XXXXXXX.
    

    不确定发生了什么 . 但他们没有暂停我的项目 .

  • 1

    我建议你按照链接https://cloud.google.com/terms/并在文档中查找Suspension和Removals . 他们明确提到了2点导致申请暂停 .

相关问题