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

DEVEX-86 Fix Docker blocking on start #2528

Merged
merged 1 commit into from
Feb 2, 2018
Merged

Conversation

ragurney
Copy link
Contributor

@ragurney ragurney commented Feb 2, 2018

Startup process was hanging forever and it looked like Docker was responsible. We dug into
the Docker API gem which looked like it was using Excon. It looked like it was using a
blocking connection, so we pass 'nonblock' option to unblock it.

https://github.com/excon/excon/search\?utf8\=%E2%9C%93\&q\=nonblock\&type\=
https://spin.atomicobject.com/2013/09/30/socket-connection-timeout-ruby/
http://www.mikeperham.com/2009/03/15/socket-timeouts-in-ruby/

upserve/docker-api#515

@jonmoter

Startup process was hanging forever and it looked like Docker was responsible. We dug into
the Docker API gem which looked like it was using Excon. It looked like it was using a
blocking connection, so we pass 'nonblock' option to unblock it.

https://github.com/excon/excon/search\?utf8\=%E2%9C%93\&q\=nonblock\&type\=
https://spin.atomicobject.com/2013/09/30/socket-connection-timeout-ruby/
http://www.mikeperham.com/2009/03/15/socket-timeouts-in-ruby/

upserve/docker-api#515
@grosser grosser force-pushed the gurney/dockerInvestigation branch from 8f5e5d3 to 2dd59cb Compare February 2, 2018 23:04
@grosser grosser merged commit cb3f0c8 into master Feb 2, 2018
@grosser grosser deleted the gurney/dockerInvestigation branch February 2, 2018 23:38
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

Successfully merging this pull request may close these issues.

3 participants