deploy with capistrano failing

前端 未结 4 808
无人及你
无人及你 2020-12-29 15:48

I have a capistrano taks like this

require \"bundler/capistrano\"

set :application, \"cloudoc\"
set :repository,  \"git@github.com:luizkowalski/cloudoc.git\         


        
相关标签:
4条回答
  • 2020-12-29 16:05

    If you are using an amazon EC2 micro instance try to delete the old releases of your app and then reboot the server instance. This worked for me. cap deploy:cleanup cap rubber:reboot

    0 讨论(0)
  • 2020-12-29 16:08

    I was running into this error and realized I was storing all my previously releases. I simply used cap deploy:cleanup and it worked great.

    0 讨论(0)
  • 2020-12-29 16:12

    The kernel actively kills processes when RAM is short and processes use to much RAM. You can use dmesg to look if the process got killed by the kernel. Messages like this will appear:

    [ 3380.091822] Out of memory: Kill process 1075 (ruby1.9.1) score 382 or sacrifice child
    

    You can activate swap space or shut down other processes. If you are running on a VPS, please make sure you have enough RAM available. The simplest solution - if the problems is really a shortage of free RAM - is just buy more RAM.

    0 讨论(0)
  • 2020-12-29 16:23

    I'm running my rails app on Digital Ocean. Creating a 2gb swap seems to solve the problem.

    0 讨论(0)
提交回复
热议问题