This repository has been archived by the owner on Jan 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 153
MOPED: Could not resolve IP for: <address> #354
Comments
👍 I am having the same issue, it is happening almost always and it slows down some of my queries considerably. mi config is as follows:
@durran any ideas what might be causing this? |
+1 |
Also seeing this, moved to a replset if that makes a difference |
anyone get this working/fixed? Did replset fix it? |
I actually ended up switching to the mongodb fork of mongoid, and using the office mongo ruby driver not moped - seems to be better. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This issue is happening periodically. Any settings/configuration changes that can resolve this or is this a true issue? Looks like network latency or something like that to me, wondering if there are any Mongoid.yml tweeks that can help alleviate this issue:
2015-02-25T09:23:20-07:00 MOPED: Could not resolve IP for: prod-cms-db2:33478 runtime: n/a
2015-02-25T09:26:37-07:00 MOPED: Could not resolve IP for: prod-cms-db1:33478 runtime: n/a
2015-02-25T10:18:03-07:00 MOPED: Could not resolve IP for: prod-cms-db3:33478 runtime: n/a
2015-02-25T10:44:38-07:00 MOPED: Could not resolve IP for: prod-cms-db3:33478 runtime: n/a
2015-02-25T11:09:02-07:00 MOPED: Could not resolve IP for: prod-cms-db2:33478 runtime: n/a
My mongoid.yml for production looks like this:
production:
sessions:
default:
database: edist
hosts:
['qa2-web-db1:33478', 'qa2-web-db2:33478', 'qa2-web-db3:33478']
options:
pool_size: 200
timeout: 20
retry_interval: 1
timeout: 15
max_retries: 20
refresh_interval: 10
The text was updated successfully, but these errors were encountered: