<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:41:31 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-16571] Use Actual Memory Constraint vs. Total System Memory When They Differ</title>
                <link>https://jira.mongodb.org/browse/SERVER-16571</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo/search?l=C%2B%2B&amp;amp;q=getMemSizeMB&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;The memory size is taken into account within various components today&lt;/a&gt;:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;&lt;a href=&quot;https://github.com/mongodb/mongo/blob/217588a5eff6d4c4d2621a03a0cee1b4566e00f1/src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp#L366-L384&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;We set the default WiredTiger cache_size to approximately 1/2 of the memory size&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;https://github.com/mongodb/mongo/blob/217588a5eff6d4c4d2621a03a0cee1b4566e00f1/src/mongo/db/repl/oplog.cpp#L724-L729&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;When ephemeral storage is in use we consider the memory limit in place to determine the default oplog size&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;https://github.com/mongodb/mongo/blob/217588a5eff6d4c4d2621a03a0cee1b4566e00f1/src/mongo/util/tcmalloc_set_parameter.cpp#L140-L144&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;We set the tcmalloc cache size to 1/8th of the available memory&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;In all of these cases we should take the actual memory constraint that we&apos;re operating under into account rather than the total system memory &amp;#8211; for example when running MongoDB within containers.&lt;/p&gt;</description>
                <environment></environment>
        <key id="174969">SERVER-16571</key>
            <summary>Use Actual Memory Constraint vs. Total System Memory When They Differ</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="matt.lord">Matt Lord</assignee>
                                    <reporter username="asya.kamsky@mongodb.com">Asya Kamsky</reporter>
                        <labels>
                            <label>containers</label>
                            <label>docker</label>
                            <label>kubernetes</label>
                    </labels>
                <created>Wed, 17 Dec 2014 04:31:23 +0000</created>
                <updated>Mon, 8 Jan 2024 15:22:58 +0000</updated>
                            <resolved>Fri, 8 Mar 2019 17:43:35 +0000</resolved>
                                    <version>2.8.0-rc2</version>
                                    <fixVersion>3.6.13</fixVersion>
                    <fixVersion>4.0.9</fixVersion>
                    <fixVersion>4.1.9</fixVersion>
                                    <component>Storage</component>
                                        <votes>9</votes>
                                    <watches>34</watches>
                                                                                                                <comments>
                            <comment id="2876476" author="billy.donahue" created="Thu, 13 Feb 2020 14:43:30 +0000"  >&lt;p&gt;I believe the way this was done, reading from &quot;/sys/fs/cgroup/memory/memory.limit_in_bytes&quot; is good enough for Docker but not necessarily for other container systems or daemonization/isolation/jailing scripts that might boot mongod. The aforementioned limit file at the top of the cgroup/memory hierarchy is relying on a Docker-specific VFS namespacing trick.&lt;/p&gt;

&lt;p&gt;I think we&apos;re more generally supposed to read /proc/self/cgroup to figure out which cgroup your memory is controlled by.&lt;br/&gt;
Then read from /sys/fs/cgroup/memory/${cgroup}/memory.limit_in_bytes.&lt;/p&gt;

&lt;p&gt;However, this (I think) correct algorithm doesn&apos;t work in Docker because they replace the deep /sys/fs/cgroup hierarchy with a flat one containing only the container&apos;s limits. But Docker does not replace /proc/self/cgroup, so you&apos;re left with an inconsistent isolation. Docker isn&apos;t the only container system, so it feels incorrect or at least incomplete to rely on its particular choices.&lt;/p&gt;
</comment>
                            <comment id="2203357" author="xgen-internal-githook" created="Fri, 5 Apr 2019 14:46:22 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;mattalord@gmail.com&apos;, &apos;name&apos;: &apos;Matt Lord&apos;, &apos;username&apos;: &apos;mattlord&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-16571&quot; title=&quot;Use Actual Memory Constraint vs. Total System Memory When They Differ&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-16571&quot;&gt;&lt;del&gt;SERVER-16571&lt;/del&gt;&lt;/a&gt; Use Actual Memory Constraint vs. Total System Memory When They Differ&lt;/p&gt;

&lt;p&gt;(cherry picked from commit d535bce1bb7df20158fad965142d6b802ea95c60)&lt;br/&gt;
Branch: v3.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/bee2203bbaa4899f496b142259a8f6b95b65dd95&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/bee2203bbaa4899f496b142259a8f6b95b65dd95&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2200447" author="xgen-internal-githook" created="Wed, 3 Apr 2019 14:18:06 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Matt Lord&apos;, &apos;username&apos;: &apos;mattlord&apos;, &apos;email&apos;: &apos;mattalord@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-16571&quot; title=&quot;Use Actual Memory Constraint vs. Total System Memory When They Differ&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-16571&quot;&gt;&lt;del&gt;SERVER-16571&lt;/del&gt;&lt;/a&gt; Use Actual Memory Constraint vs. Total System Memory When They Differ&lt;/p&gt;

&lt;p&gt;(cherry picked from commit d535bce1bb7df20158fad965142d6b802ea95c60)&lt;br/&gt;
Branch: v4.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/e5998f6c628adcb9b82fd70839ab892e1d01f265&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/e5998f6c628adcb9b82fd70839ab892e1d01f265&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2175980" author="xgen-internal-githook" created="Fri, 8 Mar 2019 17:41:45 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Matt Lord&apos;, &apos;email&apos;: &apos;mattalord@gmail.com&apos;, &apos;username&apos;: &apos;mattlord&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-16571&quot; title=&quot;Use Actual Memory Constraint vs. Total System Memory When They Differ&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-16571&quot;&gt;&lt;del&gt;SERVER-16571&lt;/del&gt;&lt;/a&gt; Use Actual Memory Constraint vs. Total System Memory When They Differ&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/fafe4d03edd877e4c022cb3dd714ab1ea6ae4fcd&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/fafe4d03edd877e4c022cb3dd714ab1ea6ae4fcd&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2172103" author="xgen-internal-githook" created="Wed, 6 Mar 2019 02:55:07 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Matt Lord&apos;, &apos;username&apos;: &apos;mattlord&apos;, &apos;email&apos;: &apos;mattalord@gmail.com&apos;}
&lt;p&gt;Message: Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-16571&quot; title=&quot;Use Actual Memory Constraint vs. Total System Memory When They Differ&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-16571&quot;&gt;&lt;del&gt;SERVER-16571&lt;/del&gt;&lt;/a&gt; cache_size should be set based on cgroup available RAM not physical RAM&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit a39875e4e060d42a7ce70ec82b07af2850d3bab7.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/dbef14de7332bb910200518e80a2b130d2b973f4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/dbef14de7332bb910200518e80a2b130d2b973f4&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2172102" author="xgen-internal-githook" created="Wed, 6 Mar 2019 02:55:04 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Matt Lord&apos;, &apos;username&apos;: &apos;mattlord&apos;, &apos;email&apos;: &apos;mattalord@gmail.com&apos;}
&lt;p&gt;Message: Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-16571&quot; title=&quot;Use Actual Memory Constraint vs. Total System Memory When They Differ&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-16571&quot;&gt;&lt;del&gt;SERVER-16571&lt;/del&gt;&lt;/a&gt; Apply linter fixes to original fix&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit 602bfb9c52b2274d55492f73eeac8513d9048d10.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/d654fe781da630ce7f354ec31931efc58757e690&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/d654fe781da630ce7f354ec31931efc58757e690&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2171026" author="xgen-internal-githook" created="Tue, 5 Mar 2019 15:05:34 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Eric Milkie&apos;, &apos;email&apos;: &apos;milkie@10gen.com&apos;, &apos;username&apos;: &apos;milkie&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-16571&quot; title=&quot;Use Actual Memory Constraint vs. Total System Memory When They Differ&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-16571&quot;&gt;&lt;del&gt;SERVER-16571&lt;/del&gt;&lt;/a&gt; Apply linter fixes to original fix&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/602bfb9c52b2274d55492f73eeac8513d9048d10&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/602bfb9c52b2274d55492f73eeac8513d9048d10&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2170917" author="xgen-internal-githook" created="Tue, 5 Mar 2019 14:18:20 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Matt Lord&apos;, &apos;email&apos;: &apos;mattalord@gmail.com&apos;, &apos;username&apos;: &apos;mattlord&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-16571&quot; title=&quot;Use Actual Memory Constraint vs. Total System Memory When They Differ&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-16571&quot;&gt;&lt;del&gt;SERVER-16571&lt;/del&gt;&lt;/a&gt; cache_size should be set based on cgroup available RAM not physical RAM&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a39875e4e060d42a7ce70ec82b07af2850d3bab7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a39875e4e060d42a7ce70ec82b07af2850d3bab7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2167170" author="james.broadhead" created="Fri, 1 Mar 2019 10:23:57 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=acm&quot; class=&quot;user-hover&quot; rel=&quot;acm&quot;&gt;acm&lt;/a&gt; / &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=matt.lord&quot; class=&quot;user-hover&quot; rel=&quot;matt.lord&quot;&gt;matt.lord&lt;/a&gt;  just noticed that this one ended up on the backlog &amp;#8211; is there any chance of getting it for MDB 4.2? &lt;br/&gt;
(we have a workaround in the Operator, but it&apos;s not ideal) &lt;/p&gt;</comment>
                            <comment id="1943143" author="matt.lord" created="Tue, 10 Jul 2018 15:21:04 +0000"  >&lt;p&gt;Hi All,&lt;/p&gt;

&lt;p&gt;WiredTiger &lt;a href=&quot;https://github.com/mongodb/mongo/blob/c41426385e88d1b8cd08b5fa39f445e184f86dc1/src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp#L373&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;uses the output of ProcessInfo.getMemSizeMB()&lt;/a&gt; when determining the cache size, which in turn calls &lt;a href=&quot;https://github.com/mongodb/mongo/blob/eeea7c2f80bdaf49a197a1c8149d7bc6cbc9395e/src/mongo/util/processinfo.h#L89&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;SystemInfo.memSize&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;On linux, we use &lt;a href=&quot;https://github.com/mongodb/mongo/blob/eeea7c2f80bdaf49a197a1c8149d7bc6cbc9395e/src/mongo/util/processinfo_linux.cpp#L489&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;LinuxSysHelper::getSystemMemorySize()&lt;/a&gt; which is &lt;a href=&quot;https://github.com/mongodb/mongo/blob/eeea7c2f80bdaf49a197a1c8149d7bc6cbc9395e/src/mongo/util/processinfo_linux.cpp#L393&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;implemented using /proc/meminfo&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If we focus on Linux for now (Windows is the only other OS with native kernel &lt;span class=&quot;error&quot;&gt;&amp;#91;docker&amp;#93;&lt;/span&gt; containers today), then the correct way would seem to be:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Check to see if our execution context / shell has a memory cgroup applied:&lt;br/&gt;
 NO:
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;grep memory /proc/self/cgroup&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: #009900; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;8&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;:memory:/&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;
&lt;p&gt;YES:&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;grep memory /proc/self/cgroup&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: #009900; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;5&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;:memory:/docker/3fd47f54d37af11b6e4144706bb38509adacb10bd08fa419eb4b1e599c016022&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;&lt;/li&gt;
	&lt;li&gt;If NO: then we use the byte value derived from /proc/meminfo as we always do today.&lt;/li&gt;
	&lt;li&gt;If YES:
	&lt;ul&gt;
		&lt;li&gt;In &lt;a href=&quot;https://github.com/mongodb/mongo/blob/eeea7c2f80bdaf49a197a1c8149d7bc6cbc9395e/src/mongo/util/processinfo_linux.cpp#L393&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;getSystemMemorySize()&lt;/a&gt;&#160;we use the lower of the two values when comparing&#160;&lt;a href=&quot;https://github.com/torvalds/linux/blob/8837c70d531a1788f975c366c254a5cb973a5291/Documentation/cgroup-v1/memory.txt#L64&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;/sys/fs/cgroup/memory/memory.limit_in_bytes&lt;/a&gt;&#160;with the byte size value derived from /proc/meminfo&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;Does anyone disagree or have any other comments?&lt;/p&gt;

&lt;p&gt;This particular implementation would be relatively easy to &lt;em&gt;implement&lt;/em&gt;&#8211;my concerns here revolve more around testing this on all combinations of:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Supported Linux platforms (distro+version+arch)&lt;/li&gt;
	&lt;li&gt;Docker version&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Am I missing anything?&lt;/p&gt;

&lt;p&gt;Thanks!&lt;/p&gt;

&lt;p&gt;Matt&lt;/p&gt;</comment>
                            <comment id="1936269" author="anton.lisovenko" created="Mon, 2 Jul 2018 09:36:56 +0000"  >&lt;p&gt;This ticket is now more important when Mongodb Kubernetes Operator is released to beta and more customers will try Mongodb in containers. Is it possible to revisit the ticket and schedule it if it&apos;s possible to get fixed now?&lt;/p&gt;</comment>
                            <comment id="992256" author="ramon.fernandez" created="Wed, 29 Jul 2015 20:05:48 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=daldoyle&quot; class=&quot;user-hover&quot; rel=&quot;daldoyle&quot;&gt;daldoyle&lt;/a&gt;, having a way to work with cgroups is definitely desirable. I&apos;d recommend you post on the &lt;a href=&quot;https://groups.google.com/forum/#!forum/mongodb-dev&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mongodb-dev group&lt;/a&gt; with an outline of the approach you&apos;d like to take, so other developers can comment on it, ask questions, etc.&lt;/p&gt;

&lt;p&gt;I&apos;m told that the libcgroup license may be incompatible with MongoDB&apos;s, so this issue should be sorted out as well.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Ram&#243;n.&lt;/p&gt;</comment>
                            <comment id="987442" author="daldoyle" created="Thu, 23 Jul 2015 20:09:50 +0000"  >&lt;p&gt;If a patch were provided that made this work only with cgroups in linux, would that be accepted and put into mainstream? The lack of resource isolation is starting to make running mongo in production problematic for us when things like OOM start to kill them off if other things on the box start grabbing memory, so we are trying to figure out some options.&lt;/p&gt;

&lt;p&gt;I realize this might not be perfect and wouldn&apos;t solve the problems with ulimits, but with the growing popularity of cgroups and things like Docker that use them, we&apos;re hoping that this might be attractive enough to warrant including.&lt;/p&gt;</comment>
                            <comment id="802032" author="dan@10gen.com" created="Mon, 12 Jan 2015 00:06:20 +0000"  >&lt;p&gt;It&apos;s not currently possible to detect the container memory in a foolproof way it seems, but will leave open for when and if it does become possible.  See: &lt;a href=&quot;http://fabiokung.com/2014/03/13/memory-inside-linux-containers/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://fabiokung.com/2014/03/13/memory-inside-linux-containers/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="710095">SERVER-39966</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                                                <inwardlinks description="is documented by">
                                        <issuelink>
            <issuekey id="729010">DOCS-12599</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10520">
                    <name>Problem/Incident</name>
                                            <outwardlinks description="causes">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="178166">DOCS-4645</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="958181">DOCS-13072</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1888797">SERVER-60412</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1532432">SERVER-52596</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>14.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="15640"><![CDATA[v4.0]]></customfieldvalue>
    <customfieldvalue key="15141"><![CDATA[v3.6]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10011"><![CDATA[Minor Change]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[500A000000ZfTneIAF, 500A000000ZgKK6IAN, 500A000000W9i0jIAB, 500A000000VYQlZIAX, 500A000000aO7oUIAS, 500A000000bBVFgIAO, 5002K00000dZgVxQAK, 5002K00000dYZ14QAG, 5002K00000hvSbyQAE]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 17 Dec 2014 04:41:48 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 51 weeks, 6 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-1331</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 years, 51 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10020"><![CDATA[Linux]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>anton.lisovenko@mongodb.com</customfieldvalue>
            <customfieldvalue>asya.kamsky@mongodb.com</customfieldvalue>
            <customfieldvalue>billy.donahue@mongodb.com</customfieldvalue>
            <customfieldvalue>daldoyle</customfieldvalue>
            <customfieldvalue>dan@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>james.broadhead@mongodb.com</customfieldvalue>
            <customfieldvalue>matt.lord</customfieldvalue>
            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrlgif:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hv5vzz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>153325</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hsge2f:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>