在GAE上获取错误:最大文件数和斑点数为10000 [英] Getting error on GAE: Max number of files and blobs is 10000

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

问题描述

我正在尝试将Wordpress环境迁移到Google App Engine项目中。目前的Wordpress环境相当大。在部署这些文件时,我收到了这个错误消息:

  11:42 AM克隆了76000个文件。 
11:43 AM克隆了78000个文件。
11:43 AM克隆了80000个文件。
11:44 AM克隆了82000个文件。
11:45 AM克隆了84000个文件。
11:46 AM克隆了86000个文件。
11:47 AM克隆了88000个文件。
11:48 AM克隆90000个文件。
11:49 AM克隆92000个文件。
11:49 AM回滚更新。
错误400:---开始服务器输出---
文件和blob的最大数量为10000.
---结束服务器输出---
2015-10- 24 11:49:07(进程已退出,代码为1)

我可以在如何获得帮助克服这一点,并让我的环境在GAE上创建? 您正在击中 Deployments quota



这是一个支付选项,似乎不可用。
根据文档,可能需要索取:


您的应用是否超出默认限制?如果您有 Silver,Gold,
或白金级支持套餐
,您可以请联系您的支持人员
代表
以请求更高的吞吐量限制。否则,您
可以申请更多邮件API配额提交功能请求
作为其他配额增加。

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



如果拆分为模块不起作用,您可以将功能拆分为多个应用程序,指向彼此以使它们看起来更像是单个应用程序,可能具有制作精巧的自定义子域映射。一个噩梦,我甚至不确定我应该暗示:)

如果上传文件中的大量文件主要来自静态内容,您也可以考虑提供一些来自CDN的内容,单独的应用程序或将其存储在GAE存储中(实际上仅限于您愿意支付的金额)并动态提供。

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)

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

解决方案

You're hitting the Deployments quota.

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

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.

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 :)

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上获取错误:最大文件数和斑点数为10000的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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