While working on a local copy of a larger project database, the mongodb cursor seems to freeze for most queries. In particular, I work with PyMongo, but even a simple count() on the collection hangs (so the problem is not a python problem).
An iteration of the cursor until it gets stuck shows that it always happens at one point (i.e. for the same query) - after which it just hangs. An attempt at cursor.alive shows that he is really alive and well.
Dropping and restoring indices also does not help.
Launching mongodb version 2.6.4. and PyMongo version 3.02. Db contains about 1.2M elements.
Does anyone experience something like this? Thanks!
source share