-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Application freezes when trying to connect to Mongodb #33
Comments
Just to add to this, reducing the server.rb app to just the most basic test, the Mongo connect line does work. bare.rb require 'logger'
require 'mongo'
require 'pry'
L = Logger.new(STDOUT)
L.info 'Connecting to database'
M = Mongo::Client.new(['node1.cloud:27017', 'node2.cloud:27017', 'node3.cloud:27017'], database: 'xxxxx', max_pool_size: 200, max_connecting: 10, read: { mode: :secondary_preferred })
binding.pry |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Trying to setup a connection to a Mongo database, an application just hangs. If I take the connection line in question into
irb
orpry
it works as expected. Strace points to something within io_uring.Strace output:
server.rb
The text was updated successfully, but these errors were encountered: