I have a 2 server installation.
A web server with Apache and a DB server with MongoDB.
I am load testing it, and on ~300 RPS I am getting this error:
PHP Fatal error: Uncaught exception 'MongoConnectionException' with message 'Transport endpoint is not connected'.
The only thing I am noticing is that right before the fail, I am getting a lots of connections on Mongo:
insert query update delete getmore command flushes mapped vsize res faults locked % idx miss % qr|qw ar|aw netIn netOut conn time 0 659 0 0 0 1 0 208m 1.28g 40m 0 0 0 0|0 0|0 62k 217k 486 03:57:20
Almost 500 connections here... but never more than that!
Mongo is 2.0.3. PHP is 5.3.x (latest of Debian install...)