Mongodump issue

Hello!

MongoDB 3.5 on docker container.

I’ve been experiencing an issue related to mongodump. I tried to create a dump from docker container this way :

docker exec $i mongodump --archive --gzip > $backupmongo/dump_mongo.gz but it constantly fails while dumping specific collection :

Failed: archive writer: error writing data for collection COLLECTION_NAME to disk: error reading collection: Unknown element kind (0x65) / Mux ending but selectCases still open 4

I suspected that it may be related to OOM but I couldn’t find anything which indicates a such reason.
Has anyone encountered such a problem?

Check this thread related to mongodump issues on Docker.It may help

Mongodump randomly throwing CursorNotFound