我无法在 cloudfoundry 基础设施上连接到我的免费托管应用程序实例。
当我运行“vmc tunnel mysql-service”时,我得到以下信息:
1:无 2:mysql 3:mysqldump 你想启动哪个客户端?> 2
在端口 10000 上打开隧道... FAILED CFoundry::AccountNotEnoughMemory: 600: 内存容量不足,允许:2048M 有关详细信息,请参阅 ~/.vmc/crash
检查我看到的 ~/.vmc/crash 日志:
崩溃时间:2013-03-13 18:16:54 -0400
CFoundry::AccountNotEnoughMemory: 600: 内存容量不足,允许:2048M
<<< 请求:PUT https://api.cloudfoundry.com/apps/caldecott 应用程序/json REQUEST_BODY: {"name":"caldecott","instances":1,"state":"STARTED","staging":{"model":"sinatra","stack":"ruby19"}, "资源":{"内存":64,"磁盘":2048,"fds":256},"env":["CALDECOTT_AUTH=43ae7176-67f6-41ac-8cff-bf21b4249a49"],"uris":[" caldecott-d9149.cloudfoundry.com"],"services":["mysql-service"],"console":null,"debug":null} 响应:[403] RESPONSE_HEADERS:缓存控制:无缓存连接:保持活动内容类型:应用程序/json;charset=utf-8 日期:2013 年 3 月 13 日星期三 22:16:54 GMT 保持活动:超时=20 服务器:nginx 传输编码:分块 x-ua 兼容:IE=Edge,
>
cfoundry-0.5.2/lib/cfoundry/baseclient.rb:156:in handle_error_response'
cfoundry-0.5.2/lib/cfoundry/baseclient.rb:135:in
handle_response' cfoundry-0.5.2/lib/cfoundry/baseclient.rb:85:in request'
cfoundry-0.5.2/lib/cfoundry/baseclient.rb:74:in
put' cfoundry-0.5.2/lib/cfoundry/v1/ model_magic.rb:55:block (2 levels) in define_client_methods'
cfoundry-0.5.2/lib/cfoundry/v1/model.rb:91:in
更新中!cfoundry-0.5.2/lib/cfoundry/v1/app.rb:131:update!'
cfoundry-0.5.2/lib/cfoundry/v1/app.rb:121:in
开始!隧道-vmc-plugin-0.2.2/lib/tunnel-vmc-plugin/tunnel.rb:173:in start_helper'
tunnel-vmc-plugin-0.2.2/lib/tunnel-vmc-plugin/tunnel.rb:89:in
create_helper' 隧道-vmc-plugin-0.2.2/lib/tunnel-vmc-plugin/tunnel.rb:28 :in open!'
tunnel-vmc-plugin-0.2.2/lib/tunnel-vmc-plugin/plugin.rb:41:in
block in tunnel'interact-0.5.2/lib/interact/progress.rb:98:in with_progress'
tunnel-vmc-plugin-0.2.2/lib/tunnel-vmc-plugin/plugin.rb:40:in
tunnel' Mothership-0.5.1/lib/mothership/base.rb:66:in run'
mothership-0.5.1/lib/mothership/command.rb:72:in
block in invoke'
我应该采取什么措施来解决这个问题?
为了提供进一步的背景,下面是有关 env 的一些细节。我的应用程序正在运行:
vmc stats logoff 使用清单文件 manifest.yml
获取注销的统计信息...好的
实例cpu内存盘
0 0.1% 74.2K 的 2G 63.3M 的 2G
vmc env 注销使用清单文件 manifest.yml
获取用于注销的环境......好的
vmc services 正在获取服务...好的
名称服务版本 mysql-service mysql 5.1