<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:05:53 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-4407] Log warnings on startup if (hard) rlimits are no good</title>
                <link>https://jira.mongodb.org/browse/SERVER-4407</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Some Linux distros have unusably low limits for things like number of processes or file descriptors.  It would be handy if we checked the rlimits on startup and complained if the limits were too low for typical MongoDB uses.&lt;/p&gt;</description>
                <environment></environment>
        <key id="25847">SERVER-4407</key>
            <summary>Log warnings on startup if (hard) rlimits are no good</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="matulef">Kevin Matulef</assignee>
                                    <reporter username="richard.kreuter">Richard Kreuter</reporter>
                        <labels>
                    </labels>
                <created>Thu, 1 Dec 2011 23:00:42 +0000</created>
                <updated>Mon, 3 Jun 2019 13:46:31 +0000</updated>
                            <resolved>Thu, 17 May 2012 18:24:59 +0000</resolved>
                                                    <fixVersion>2.1.2</fixVersion>
                                    <component>Logging</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="96448" author="matulef" created="Wed, 7 Mar 2012 17:37:16 +0000"  >&lt;p&gt;I moved the rlimit check so that it happens in a much saner place, along with other checks that happen at startup.  However, the check is currently only performed on certain platforms.  I need to do some research to figure out how to perform the check on the other platforms (i.e. windows), so I&apos;m leaving this ticket open for now, but will reschedule it for the next version.  &lt;/p&gt;</comment>
                            <comment id="96443" author="auto" created="Wed, 7 Mar 2012 17:29:44 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;matulef&apos;, u&apos;name&apos;: u&apos;Kevin Matulef&apos;, u&apos;email&apos;: u&apos;matulef@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4407&quot; title=&quot;Log warnings on startup if (hard) rlimits are no good&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4407&quot;&gt;&lt;del&gt;SERVER-4407&lt;/del&gt;&lt;/a&gt; moved rlimit check to better place&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/f729d0c69bbaae99c38d56e8711c3ca9acb5c8c9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/f729d0c69bbaae99c38d56e8711c3ca9acb5c8c9&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="87103" author="richard@10gen.com" created="Thu, 9 Feb 2012 22:45:01 +0000"  >&lt;p&gt;Please add a test for this.  Something like&lt;/p&gt;

&lt;p&gt;ulimit &amp;lt;something low&amp;gt;&lt;br/&gt;
mongod --logpath &amp;lt;path to log&amp;gt;&lt;br/&gt;
&amp;lt;check for startup warnings or something&amp;gt;&lt;/p&gt;</comment>
                            <comment id="87095" author="richard@10gen.com" created="Thu, 9 Feb 2012 22:21:37 +0000"  >&lt;p&gt;The rlimit warnings are being printed at the beginning of main(), before argument parsing and logpath setup, and so (a) they&apos;re cluttering up the --version output, and, more importantly (b) they won&apos;t end up in the user&apos;s log file.  Cf.&lt;/p&gt;

&lt;p&gt;$ ./mongod --logpath /tmp/log --fork&lt;br/&gt;
Thu Feb  9 17:20:52 Warning: soft rlimits too low. Number of files is 256, should be at least 1000&lt;br/&gt;
forked process: 10729&lt;br/&gt;
all output going to: /tmp/log&lt;br/&gt;
log file &lt;span class=&quot;error&quot;&gt;&amp;#91;/tmp/log&amp;#93;&lt;/span&gt; exists; copied to temporary file &lt;span class=&quot;error&quot;&gt;&amp;#91;/tmp/log.2012-02-09T22-20-52&amp;#93;&lt;/span&gt;&lt;br/&gt;
child process started successfully, parent exiting&lt;/p&gt;</comment>
                            <comment id="75080" author="auto" created="Wed, 21 Dec 2011 17:25:20 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;matulef&apos;, u&apos;name&apos;: u&apos;Kevin Matulef&apos;, u&apos;email&apos;: u&apos;matulef@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4407&quot; title=&quot;Log warnings on startup if (hard) rlimits are no good&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4407&quot;&gt;&lt;del&gt;SERVER-4407&lt;/del&gt;&lt;/a&gt; check rlimits on startup&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/2fa3f79aeb5185053541be4e1412bcf97399c6dc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/2fa3f79aeb5185053541be4e1412bcf97399c6dc&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="39000">SERVER-5864</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="787226">SERVER-41453</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="21959">SERVER-3776</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 21 Dec 2011 17:25:20 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        11 years, 50 weeks 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>nicholas.cottrell@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            11 years, 50 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>matulef</customfieldvalue>
            <customfieldvalue>richard.kreuter</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrok73:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8071</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|hrj78n:</customfieldvalue>

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