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

MongoDB death lock #4

Open
9b opened this issue Sep 20, 2011 · 0 comments
Open

MongoDB death lock #4

9b opened this issue Sep 20, 2011 · 0 comments

Comments

@9b
Copy link
Owner

9b commented Sep 20, 2011

MongoDB sometimes dies (likely on insert) while the write lock is present causing the database to become unavailable. This will result in your not allowing the database to start.

Temporary fix:

  • rm -r /var/lib/mongodb/mongod.lock

Suggested fix:

  • Monitor resource consumption and ensure that Mongo dies with grace. If this is not possible, run a daemon to check if the mongo process has died in an unclean manner and remove the lock.
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

No branches or pull requests

1 participant