在 GAE 上出错:文件和 blob 的最大数量为 10000 [英] Getting error on GAE: Max number of files and blobs is 10000

查看:13
本文介绍了在 GAE 上出错:文件和 blob 的最大数量为 10000的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将 Wordpress 环境迁移到 Google App Engine 项目中.当前的 Wordpress 环境相当大.部署文件时出现此错误

I am trying to migrate a Wordpress environment into a Google App Engine project. The current Wordpress environment is quite large. While deploying the files I get this error

11:42 AM Cloned 76000 files.
11:43 AM Cloned 78000 files.
11:43 AM Cloned 80000 files.
11:44 AM Cloned 82000 files.
11:45 AM Cloned 84000 files.
11:46 AM Cloned 86000 files.
11:47 AM Cloned 88000 files.
11:48 AM Cloned 90000 files.
11:49 AM Cloned 92000 files.
11:49 AM Rolling back the update.
Error 400: --- begin server output ---
Max number of files and blobs is 10000.
--- end server output ---
2015-10-24 11:49:07 (Process exited with code 1)

我能否获得一些帮助以解决这个问题并在 GAE 上创建我的环境?

Can I get some help on how to overcome this and get my environment created on GAE?

推荐答案

您遇到了部署配额.

嗯,超出价值的付费选项似乎不可用.根据文档:

Hm, a paid option to exceed the value doesn't seem to be available. Might be worthy to ask for it, per the documentation:

您的应用是否超出了默认限制?如果您有 银级、金级、或白金支持包,您可以联系您的支持代表请求更高的吞吐量限制.否则,你可以申请更多Mail API配额提交功能请求对于任何其他配额增加.

Is your app exceeding the default limits? If you have Silver, Gold, or Platinum support package, you can contact your support representative to request higher throughput limits. Otherwise, you can apply for more Mail API quota or file a feature request for any other quota increase.

同时,您可以尝试将您的应用程序拆分为多个模块并分别上传(希望 app 在部署配额措辞中真正意味着 module - 版本确实适用于模块,而不是整个应用程序).

Meanwhile you could try to split your app in multiple modules and upload them separately (hoping that app really means module in the Deployments quota wording - versions really apply to modules, not to apps as a whole).

如果拆分为模块不起作用,您可以将功能拆分为多个应用程序,相互指向,使它们看起来更像是一个应用程序,并可能具有精心制作的自定义子域映射.一场噩梦,我什至不确定我是否应该建议:)

If splitting into modules doesn't work you could split the functionality into multiple apps, pointing to each-other to make them look more like a single app, potentially with nicely crafted custom sub-domain mappings. A nightmare, I'm not even sure I should be suggesting that :)

如果上传的大量文件主要来自静态内容,您还可以考虑从 CDN、单独的应用程序或将其存储在 GAE 存储中提供其中一些内容(实际上仅受您愿意的数量限制)支付)并动态提供服务.

If the high number of files in the upload comes primarily from static content you could also consider serving some of that content from CDNs, separate apps or storing it in the GAE storage (practically limited only by the amount you're willing to pay) and serving it dynamically.

这篇关于在 GAE 上出错:文件和 blob 的最大数量为 10000的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆