AppEngine warning - OpenBLAS WARNING - could not determine the L2 cache size on this system

前端 未结 2 1387
孤城傲影
孤城傲影 2020-12-03 14:42

I try to deploy application on the GC AppEngine. There are no errors during deploy process but application doesn\'t work (Just show loading page). The only one strange raw i

2条回答
  •  春和景丽
    2020-12-03 15:13

    I personally solved it by adding a timeout to gunicorn, as the default timeout is only 30 sec

    entrypoint: gunicorn -b :$PORT main:app.server --timeout 120

    I found this solution as I tried the following:

    • switched from a F1 to a F4_1G instance: still had the same warning
    • switched from App Engine Standard to App Engine Flexible environment (which I highly DO NOT recommend, as app engine flexible instances not properly shut down (deleted) can cost you a lot of money: please see here for reference Pricing of Google App Engine Flexible env, a $500 lesson), with 16gb of ram and 4 CPU -> eventually got a different warning "[CRITICAL] WORKER TIMEOUT" which pointed me to this post: Gunicorn worker timeout error , which is where I found this solution.

    Now my app works well, even with a F1 instance

提交回复
热议问题