Why me :) I don't see any related issues.

MongoCursorTimeoutException: cursor timed out (timeout: 30000, time left: 0:0, status: 0) in MongoCursor->rewind() (line 41 of .../sites/all/modules/mongodb/mongodb_cache/mongodb_cache.inc).

This is triggered on a node_save.

function getMultiple


= array('_id' = array(
'$in' = array(
'6391803'  // a valid node

I tested extending the timeout using the following without success.
function mongodb($alias = 'default') {
MongoCursor::$timeout = 60000;
MongoCursor::$timeout = -1;

Both extend the time without completing the script, so I guess the problem is something other than time.

Any help would be appreciated.

Working with Mongo is pretty great, thank you, just the learning hurts a bit.


karlos007’s picture

Same here.

I think that something like this should help:
mongodb_cache.inc -> line 39

= $collection->find($find)->timeout(variable_get('mongodb_timeout', 30000));

found here: https://groups.google.com/forum/#!topic/mongodb-user/Ti-Ew4PtbE4 , comment by Gates 15.02.11