Ask Your Question

how to increase waiting time for mongodb if it is dead

asked 2015-10-08 04:17:47 -0500

mark gravatar image

If I stop the service of mongodb, and run any ceilometer query(suppose alarm creation) then on an average of 3 min it will through connectivity error. Can we increase this time i.e. waiting time for mongodb to up again so that we can perform our operation. please reply...

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-10-29 05:05:22 -0500

ZhiQiang Fan gravatar image

That depends on which version you're using now.

Basically, there are two options you can use: max_retries and retry_interval. For different branches, their names and groups can be different. They are defined by oslo.db (aka openstack.common.db) and by default they are 10. If you want to increase the waiting time for MongoDB backend, you can increase the value of the two.

I don't know why the average response time is 3 minutes in your environments, by default, it should be around 2 minutes I think.

edit flag offensive delete link more


Ok Fan san, thank you for your helpful answer.

mark gravatar imagemark ( 2015-11-01 22:03:38 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-10-08 04:17:47 -0500

Seen: 86 times

Last updated: Oct 29 '15