top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

mongodump inside a limited container

0 votes
57 views

we currently have an installation of mongodb3.4 inside Openshift. So, every mongod instance is installed inside a container with limited memory.

When we are trying to run mongodump on a 3GB database from rather small container ( for example, 1 GB ram), we are getting OOM.

As far as I can understand, mongodump cant understand cgroup limits and thinks that it has 64 GB RAM available (its our docker host available ram), so it tries to eat more than it can chew and container is killed

Are there any workarounds for this issue?

posted Jul 6, 2017 by anonymous

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
0 votes

If I use mongodump command dump data to my computer, will leave any message in log file? Or no any message be loged ?

0 votes

My collection is like this, but I want to update a nested object with {"env":"qa"} in my updated collection with java-driver:

{ "_id" : ObjectId("5b052eeff9290437b217b1ed"), "app" : "hike", "group" : [ { "env" : "prod" }, { "env" : "test" } ]}{ "_id" : ObjectId("5b052f36f9290437b217b1ee"), "app" : "viber", "group" : [ { "env" : "prod" }, { "env" : "test" } ]}

+1 vote

I was wondering if there is a free hypervisor for macOS that would support fsync on directories?Alternatively, is it possible to disable this requirement in MongoDB?

I Tried virtualbox and xhyve - no luck.

0 votes

The problem I have is the following: I have about 136.000 points in England and want to check if they are nearby roads (lets say in a distance of 10 meters. The roads will come from OpenStreetMap as LineStrings.

The roads-data and the points are GeoJSON-documents. But unfortunately there is - as far as I know - no in-build function in mongodb that can handle this.

Is there any way to get this issue solved?

Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...