Subject: [mongodb-user] can long query leads to mongod
crashes?



Hi all,
I have a three-node replica set on AWS. Production node, Replica and Arbiter. In the past couple of months, there have been 2 incidences of mongod crashing. In both cases, when I look back in the log, there were long queries (sometimes >8000ms) happening right before it crashed. (Apparently, I need better indices.) Both times, it happened on the Production node. The first time, it was primary, and the second time, it was secondary. 
So here are my questions:1) can long queries lead to mongod crashes?2) why the second time it's not the mongod on the primary that crashed? It seems that there must be other reason causing this crash - the Production node runs the initial code the queries and write to MongoDB. 
Thanks in advance!Scarlett

--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
 
For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/dd3af3d7-6aba-4509-b7a5-7125e940985c%40googlegroups.com.
For more optio...

ns, visit https://groups.google.com/d/optout.



Programming list archiving by: Enterprise Git Hosting