Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mina deploy hangs #134

Closed
7even opened this issue Aug 8, 2013 · 4 comments
Closed

mina deploy hangs #134

7even opened this issue Aug 8, 2013 · 4 comments

Comments

@7even
Copy link

7even commented Aug 8, 2013

The deployment process hangs from time to time. Usually it happens at the very end, after outputting Done. Deployed v6 but sometimes it hangs after some error occured in the middle of the process.

Subsequent Ctrl+C don't help, I just keep getting Mina: SIGINT received again. Force quitting... over and over again; I have to kill -9 the process.

This reproduces on 2 different machines, both of them use oh-my-zsh, rbenv and ruby version 1.9.2 or greater. I would gladly provide a more reproducible environment if I could.

@7even
Copy link
Author

7even commented Aug 10, 2013

It seems like the problem was caused by persistent ssh connections I enabled in ~/.ssh/config with the following line:

ControlPersist 15m

15 minutes are 900 seconds, and that's nearly the time after which mina finishes the deployment process. Commenting out the ControlPersist line solved the problem.

@7even 7even closed this as completed Aug 10, 2013
@scarfacedeb
Copy link
Contributor

I have the same issue, but I'd like to keep ControlPersist option, because I connect to the same host regularly by hand and it's very convenient to have this option for this case.

@cofyc
Copy link

cofyc commented Jan 20, 2015

+1 This problem bothers me...

@cofyc
Copy link

cofyc commented Jan 20, 2015

@scarfacedeb Found a way to disable ControlPersist in mina. Add

set :ssh_options, '-oControlPersist=no`

in your config/deploy.rb.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants