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

cloud start occasionally hangs in chef bootstrap #87

Open
alexg0 opened this issue May 11, 2010 · 0 comments
Open

cloud start occasionally hangs in chef bootstrap #87

alexg0 opened this issue May 11, 2010 · 0 comments

Comments

@alexg0
Copy link
Contributor

alexg0 commented May 11, 2010

Cloud start occasionally hangs in chef bootstrap, or errors out with following error from ssh: "ssh_exchange_identification: Connection closed by remote host".

This seems to be caused by Connections#ping_port leaving TCP port open, and starving out ssh session (maximum number of concurrent ssh session (this is controlled either MaxSession and MaxStartups parameters in sshd_config, each defaults to 10). Fix is to close TCPSocket after using it. Will provide a patch.

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

1 participant