<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:39:51 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>[GODRIVER-3007] Slow memory leak in the official MongoDB Go packages</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-3007</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;h3&gt;&lt;a name=&quot;Detailedstepstoreproducetheproblem%3F&quot;&gt;&lt;/a&gt;Detailed steps to reproduce the problem?&lt;/h3&gt;

&lt;p&gt;After launching the project-service in a pod in Kubernetes (AKS, mostly current release), it works properly and has reasonable resource consumption.&lt;br/&gt;
After a few days, the memory consumption has steadily increased/ramped-up, as a slow pace despite the service not being accessed.&lt;br/&gt;
Please view the image entitled: 20231006_191500MST_LEAK_K8S_Resources.png.&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;Definitionofdone%3Awhatmustbedonetoconsiderthetaskcomplete%3F&quot;&gt;&lt;/a&gt;Definition of done: what must be done to consider the task complete?&lt;/h3&gt;

&lt;p&gt;Launch our web service and send a few queries to pull data from the Atlas MongoDB database. &#160;&lt;br/&gt;
Let the web service be inactive, but connected via a Mongo Client to the database for 24-hours.&lt;br/&gt;
Examine the memory consumption over 24-hours. &#160;If the level remains fairly constant, due to the api being inactive, then all is well.&lt;br/&gt;
Otherwise, if the memory consumption is slowly increasing, there is still a leak.&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;TheexactGoversionused%2Cwithpatchlevel%3A&quot;&gt;&lt;/a&gt;The exact Go version used, with patch level:&lt;/h3&gt;

&lt;p&gt;{{$&#160;}}go version &lt;/p&gt;

&lt;p&gt;go1.21.1 darwin/amd64&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;TheexactversionoftheGodriverused%3A&quot;&gt;&lt;/a&gt;The exact version of the Go driver used:&lt;/h3&gt;

&lt;p&gt;&lt;tt&gt;$ go list -m go.mongodb.org/mongo-driver&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;go.mongodb.org/mongo-driver v1.12.1&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;DescribehowMongoDBissetup.LocalvsHosted%2Cversion%2Ctopology%2Cloadbalanced%2Cetc.&quot;&gt;&lt;/a&gt;Describe how MongoDB is set up. Local vs Hosted, version, topology, load balanced, etc.&lt;/h3&gt;

&lt;p&gt;We have a cluster at Atlas MongoDB.&#160; In the cluster, we have a database named &apos;kdev-csc&apos;.&#160; Within the database, there is a collection named &apos;projects&apos;.&#160; We use SHA256 authentication.&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;Theoperatingsystemandversion%28e.g.Windows7%2COSX10.8%2C...%29&quot;&gt;&lt;/a&gt;The operating system and version (e.g. Windows 7, OSX 10.8, ...)&lt;/h3&gt;

&lt;p&gt;The web service runs in a Kubernetes v1.27.3 pod.&#160; The image is based on Linux x64.&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;SecurityVulnerabilities&quot;&gt;&lt;/a&gt;&lt;b&gt;Security Vulnerabilities&lt;/b&gt;&lt;/h3&gt;

&lt;p&gt;If you&#8217;ve identified a security vulnerability in a driver or any other MongoDB project, please report it according to the instructions &lt;a href=&quot;https://www.mongodb.com/docs/manual/tutorial/create-a-vulnerability-report/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here:&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;NONE&lt;/p&gt;</description>
                <environment></environment>
        <key id="2463248">GODRIVER-3007</key>
            <summary>Slow memory leak in the official MongoDB Go packages</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="13203">Gone away</resolution>
                                        <assignee username="matt.dale@mongodb.com">Matt Dale</assignee>
                                    <reporter username="mike.gardner@ingios.com">Michael Gardner</reporter>
                        <labels>
                            <label>leak</label>
                            <label>memory-leak</label>
                    </labels>
                <created>Sat, 7 Oct 2023 03:58:30 +0000</created>
                <updated>Tue, 9 Jan 2024 18:54:42 +0000</updated>
                            <resolved>Tue, 9 Jan 2024 18:54:42 +0000</resolved>
                                    <version>1.12.0</version>
                    <version>1.12.1</version>
                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="5996235" author="mike.gardner@ingios.com" created="Tue, 9 Jan 2024 05:46:00 +0000"  >&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;This issue can be closed. After updating the non-MongoDB dependencies, the memory leak disappeared.&lt;/p&gt;

&lt;p&gt;Mike&lt;/p&gt;</comment>
                            <comment id="5760988" author="dbeng-pm-bot" created="Sat, 7 Oct 2023 03:58:33 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=mike.gardner%40ingios.com&quot; class=&quot;user-hover&quot; rel=&quot;mike.gardner@ingios.com&quot;&gt;mike.gardner@ingios.com&lt;/a&gt;, thank you for reporting this issue! The team will look into it and get back to you soon. &lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="481420" name="project-service-pprof-1.zip" size="10698722" author="mike.gardner@ingios.com" created="Sat, 7 Oct 2023 03:57:00 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_14266" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Documentation Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;1.  What would you like to communicate to the user about this feature?&lt;br/&gt;
2.  Would you like the user to see examples of the syntax and/or executable code and its output?&lt;br/&gt;
3.  Which versions of the driver/connector does this apply to?&lt;/p&gt;</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>