<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:50:07 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-38811] TCP_KEEPINTVL should be 1 second</title>
                <link>https://jira.mongodb.org/browse/SERVER-38811</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Currently we set it to 5 minutes, matching TCP_KEEPIDLE, but that seems incorrect. KEEPINTVL is how frequently to probe a connection that has been idle for KEEPIDLE seconds until we get a successful reply from the remote host, which restarts the KEEPIDLE timer. Essentially this is used to detect blackholed connections, and there is no reason to wait 45 minutes (default value 9 of TCP_KEEPCNT * KEEPINTVL) to realize a connection is dead. This will lower it to 5 minutes + 10 seconds.&lt;/p&gt;</description>
                <environment></environment>
        <key id="664436">SERVER-38811</key>
            <summary>TCP_KEEPINTVL should be 1 second</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="13201">Fixed</resolution>
                                        <assignee username="mathias@mongodb.com">Mathias Stearn</assignee>
                                    <reporter username="mathias@mongodb.com">Mathias Stearn</reporter>
                        <labels>
                    </labels>
                <created>Wed, 2 Jan 2019 19:41:14 +0000</created>
                <updated>Sun, 29 Oct 2023 22:25:25 +0000</updated>
                            <resolved>Wed, 23 Jan 2019 23:54:42 +0000</resolved>
                                                    <fixVersion>4.1.8</fixVersion>
                    <fixVersion>4.0.25</fixVersion>
                                    <component>Networking</component>
                                        <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="3760080" author="xgen-internal-githook" created="Fri, 7 May 2021 00:23:38 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Andrew Shuvalov&apos;, &apos;email&apos;: &apos;andrew.shuvalov@mongodb.com&apos;, &apos;username&apos;: &apos;shuvalov-mdb&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-56732&quot; title=&quot;Backport SERVER-38811 to 4.0: TCP_KEEPINTVL should be 1 second&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-56732&quot;&gt;&lt;del&gt;SERVER-56732&lt;/del&gt;&lt;/a&gt;: Backport &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-38811&quot; title=&quot;TCP_KEEPINTVL should be 1 second&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-38811&quot;&gt;&lt;del&gt;SERVER-38811&lt;/del&gt;&lt;/a&gt; to 4.0: TCP_KEEPINTVL should be 1 second&lt;br/&gt;
Branch: v4.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/5fc34e6c5fb29bb761d25de2b63043be73c206f2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/5fc34e6c5fb29bb761d25de2b63043be73c206f2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2124991" author="xgen-internal-githook" created="Wed, 23 Jan 2019 23:51:46 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;mathias@10gen.com&apos;, &apos;name&apos;: &apos;Mathias Stearn&apos;, &apos;username&apos;: &apos;RedBeard0531&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-38811&quot; title=&quot;TCP_KEEPINTVL should be 1 second&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-38811&quot;&gt;&lt;del&gt;SERVER-38811&lt;/del&gt;&lt;/a&gt; Set TCP_KEEPINTVL to 1 second&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/ad76f11ab3c86e3526cc8fc396e368fea934a0eb&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/ad76f11ab3c86e3526cc8fc396e368fea934a0eb&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2113093" author="redbeard0531" created="Fri, 11 Jan 2019 22:59:23 +0000"  >&lt;p&gt;Since there was still some confusion about this, I should be clear that this should &lt;b&gt;not&lt;/b&gt; result in any additional network traffic, since this will still only start sending keepalives after connections have been idle for 5 minutes. The only thing that is changing is how quickly we will retry sending out a keepalive message after failing to get a reply. Once we get a reply to the keepalive, we will wait 5 minutes before sending another.&lt;/p&gt;

&lt;p&gt;This will bring the ratio of KEEPIDLE and KEEPINTVL closer to the linux defaults: 7200 seconds (2 hours) and 75 seconds. We currently are setting both to the same value, which doesn&apos;t really make sense.&lt;/p&gt;</comment>
                            <comment id="2104523" author="redbeard0531" created="Thu, 3 Jan 2019 18:00:24 +0000"  >&lt;p&gt;No, TCP_KEEPINTVL is how frequently to &lt;b&gt;retry&lt;/b&gt; sending a keepalive after the initial keepalive packet is sent when the connection has been idle for TCP_KEEPIDLE, which will still be 5 minutes. Once the other node replies to the keepalive packet (which should be handled in the kernel without waking user space) it restarts the KEEPIDLE timer. So this shouldn&apos;t increase the number of packets sent at all, except in cases of packet loss.&lt;/p&gt;</comment>
                            <comment id="2104170" author="schwerin" created="Thu, 3 Jan 2019 14:06:09 +0000"  >&lt;p&gt;Won&apos;t this generate a large number of keepalive packets when there are a ton of idle connections?&lt;/p&gt;

&lt;p&gt;It is common for MongoDB clients to create a large number of mostly idle connections, and mongos connection pooling can lead to a similar state. Performing 1-second keepalives on all of those connections would mean an uptick in packets-per-second.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="625704">SERVER-37783</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.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>
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 3 Jan 2019 14:06:09 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 39 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_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>
                            2 years, 39 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>schwerin@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>mathias@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hui0mn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hu81hb:</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>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="2738">Service Arch 2019-01-14</customfieldvalue>
    <customfieldvalue id="2739">Service Arch 2019-01-28</customfieldvalue>

                        </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|huhmvz:</customfieldvalue>

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