You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apologies if this isn't the best place for this issue.
I've noticed that with docker 17.12.0-ce and the mongo:3.4.1 image, memory limits imposed on the container are not "respected" by mongo. What I mean by this is that mongo seems to not recognize the memory limit and tries to use the full memory of the host system.
This leads to bad things happening when memory fills up - mongo starts spilling into swap and performance slows to a crawl.
I would rather not give mongo unrestricted access to the host's memory, or be forced to periodically kill mongod.
I considered explicitly limiting the cache size for WiredTiger, but that's no good because the file-system cache is still unbounded.
Any ideas for a workaround?
The text was updated successfully, but these errors were encountered:
Apologies if this isn't the best place for this issue.
I've noticed that with docker 17.12.0-ce and the
mongo:3.4.1
image, memory limits imposed on the container are not "respected" by mongo. What I mean by this is that mongo seems to not recognize the memory limit and tries to use the full memory of the host system.This leads to bad things happening when memory fills up - mongo starts spilling into swap and performance slows to a crawl.
I would rather not give mongo unrestricted access to the host's memory, or be forced to periodically kill mongod.
I considered explicitly limiting the cache size for WiredTiger, but that's no good because the file-system cache is still unbounded.
Any ideas for a workaround?
The text was updated successfully, but these errors were encountered: