Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

Using MongoDB 2.4.5 with version 0.702 of the Perl MongoDB driver, I frequently run into exceptions like these:

recv timed out (30000 ms) at ...MongoDB/Cursor.pm line 161.

couldn't get response to throw out at ...MongoDB/Cursor.pm line 161.

missed the response we wanted, please try again at ...MongoDB/Cursor.pm line 161

invalid header received at ...MongoDB/Cursor.pm line 161.

can't get db response, not connected at ...MongoDB/Cursor.pm line 161.

The exceptions are intermittent, and often vanish on the next request (this is a web app). Occasionally, the exceptions will persist over several consecutive requests.

This is a tiny database running the default configuration (no sharding or anything fancy). I've tried using some of the tools listed here and here, but I'm unclear on how to apply them to this situation.

Can you kindly suggest some tools & strategies for diagnosing the problem? Thanks for your time.

share|improve this question
add comment (requires an account with 50 reputation)

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.