Reputation: 2540
I seem to be experiencing a Mongo::OperationTimeout every ~20 mins - 1 Hour My stack:
I have tried setting KeepAlive on EC2 to 300 like said in http://www.mongodb.org/display/DOCS/Amazon+EC2 but still did not help
I have tried working with just one primary configuration instead of the ReplicaSet, but this did not help either.
Below is mongoid.conf:
production: database: my-app-name op_timeout: 10 read_secondary: true max_retries_on_connection_failure: 3 identity_map_enabled: true allow_dynamic_fields: false hosts: - - ip-XXX.ec2.internal - 27017 - - ip-XXX.ec2.internal - 27017
Upvotes: 3
Views: 825
Reputation: 2540
After some group thinking, here are some points we came up with regarding our situation:
Upvotes: 3