I ran a few queries w/ the persistent option turned on. I now have a maximum of 8 connections opened (view from the HTTP interface); I was wondering if they’ll ever close. Does it hurt to leave all 8 open?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No, it shouldn’t hurt to leave them open. It depends on what application server you’re using, but they’ll usually be closed after a few requests. MongoDB accepts up to 20,000 connections.