我无法tunnle到cloudfoundry inftrastructure上rails应用程序的免费托管实例。
当我运行"vmc隧道mysql服务"时,我会得到以下信息:
1:无2:mysql3:mysqldump您希望启动哪个客户端?>2
正在打开端口10000上的隧道…失败CFoundry::AccountNotEnoughMemory:600:内存容量不足,允许:2048M有关更多信息,请参阅~/.vmc/class
检查~/.vmc/崩溃日志我看到:
碰撞时间:2013-03-13 18:16:54-0400
CFoundry::AccountNotEnoughMemory:600:内存容量不足,允许:2048M
<lt<请求:放置https://api.cloudfoundry.com/apps/caldecott请求标头(_H(:授权:持票人eyJhbGciOiJSUzI1NiJ9.eyJleHAiOjEzNjM4MTc3OTgsInVzZXJfbmFtZSI6ImhzdWVpbmczQGdtYWlsLmNvbSIsInNjb3BrIjpbImNsb3VkX2NvbnRib2xsZXIumVhZCIsIm9wZW5pZCIsInBhc3N3b3JkLndyaXRlIl0sImVtYWlsIjoiaHN1ZWluZzNAZ21haWwuY29tIiYXVkIjpbIm9wZ5pZCisImNsb3 VkX2NvbnRib2xsZXIILCJwYXNzd29yZCJdLCJqdGkiOiJkMzZjNDI3MS02ZDJkLTRjN2EtOThmYS1kNzc2MhiZDFiNmMiLCJ1c2VyX2lkIjoiODY0OWZkMzEtY2JiNy00N2YyLTkyNmItODM5Y2MzNWFlMTlmIiwiY2xpZW50X2lkIjoidm1jIn0.Lt1Bw7mBP55Hi9MIPTn90s0RXkJcJwGZXZcqDep4BBnnwjrAOAPQPGlIwBA-Ov9K5BazMXqnQCOv8kxpK8o4wo3vG6RAJPvF7p76JgZDq0C_n_PUV1LaxGrldnpc2PLawR0FHHChb7tKCJP4cf26lK8A8vg5GEwi8HWO5OJCERI-3KKiGJB5mVj2rWGmE39-ihAWmT5LpS5jAEZ-XVvo4VDEKknJ8SQ C6693FzdCZ2ABHkAgNxRoCsBtvkxOgKkspI-IkcaMZx884BT24cGbseZ5XY3bj6ZjAb499AfbiFe97Hme4axtpWo8qn1grJxyI3gmYAVMHVgo1M1IQ内容长度:310内容类型:application/jsonREQUEST_BODY:{"name":"caldecott","instances":1,"state":"STARTED","staging":{"控制台":null,"调试":null}响应:[403]负责人(_H(:缓存控制:无缓存连接:保持活动内容类型:application/json;charset=utf-8日期:2013年3月13日星期三22:16:54 GMT保持活动:超时=20服务器:nginx传输编码:分块x-ua-兼容:IE=边缘,chrome=1RESPONSE_BODY:{"代码":600,"description":"内存容量不足,允许:2048M"}
>
cfoundry-0.5.2/lib/cfoundry/baseclient.rb:156:在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
启动中!'tunnel-vmc-plugin-0.2.2/lib/tunnel-vmc plugin/tunnel.rb:173:在start_helper'
tunnel-vmc-plugin-0.2.2/lib/tunnel-vmc-plugin/tunnel.rb:89:in
create_helper'中tunnel-vmc-plugin-0.2.2/lib/tunnel-vmc plugin/tunnel.rb:28:tunnel'中的open!'
tunnel-vmc-plugin-0.2.2/lib/tunnel-vmc-plugin/plugin.rb:41:in
块interact-0.5.2/lib/interact/progress.rb:98:在with_progress'
tunnel-vmc-plugin-0.2.2/lib/tunnel-vmc-plugin/plugin.rb:40:in
隧道中mothership-0.5.1/lib/mothership/base.rb:66:invoke‘中的run'
mothership-0.5.1/lib/mothership/command.rb:72:in
块
我应该采取什么行动来解决这个问题?
为了提供进一步的背景,下面是关于env的一些细节。我的应用程序正在运行:
vmc统计信息注销使用清单文件manifest.yml
正在获取注销的统计信息。。。OK
实例cpu内存磁盘
0 0.1%74.2K的2G 63.3M的2G
vmc-env注销使用清单文件manifest.yml
正在获取注销的env。。。OK
vmc服务正在获取服务。。。OK
名称服务版本mysql服务mysql 5.1
这是因为您已经使用了所有分配的2Gb RAM。要通过隧道连接到服务,vmc需要部署一个名为Caldecott的小型Ruby应用程序,该应用程序使用64Mb。简而言之,你需要释放64Mb!