<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:28:03 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-12259] startup option to provide core dumps</title>
                <link>https://jira.mongodb.org/browse/SERVER-12259</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;On occasion it is necessary to get a core dump from a customer, for example to debug a difficult-to-reproduce segfault. The only option currently is to ask the customer to recompile mongod with the sigaction call(s) in db.cpp commented out, which may not be an appealing option for many customers. It would be a useful serviceability feature to have a startup option that disables those sigaction calls (or otherwise enables core dumps) for at least SIGSEGV, SIGBUS, SIGILL, and SIGFPE, and possibly SIGABRT.&lt;/p&gt;</description>
                <environment></environment>
        <key id="104666">SERVER-12259</key>
            <summary>startup option to provide core dumps</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="schwerin@mongodb.com">Andy Schwerin</assignee>
                                    <reporter username="bruce.lucas@mongodb.com">Bruce Lucas</reporter>
                        <labels>
                    </labels>
                <created>Mon, 6 Jan 2014 15:59:36 +0000</created>
                <updated>Wed, 25 Jan 2017 22:01:34 +0000</updated>
                            <resolved>Tue, 7 Jul 2015 16:36:23 +0000</resolved>
                                                    <fixVersion>3.1.6</fixVersion>
                                    <component>Admin</component>
                                        <votes>1</votes>
                                    <watches>16</watches>
                                                                                                                <comments>
                            <comment id="959645" author="charlie.page@10gen.com" created="Tue, 7 Jul 2015 16:39:07 +0000"  >&lt;p&gt;3.0 backport would be ideal.&lt;/p&gt;</comment>
                            <comment id="959640" author="schwerin" created="Tue, 7 Jul 2015 16:36:23 +0000"  >&lt;p&gt;Should we backport this to 3.0?&lt;/p&gt;</comment>
                            <comment id="959586" author="xgen-internal-githook" created="Tue, 7 Jul 2015 16:02:51 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-12259&quot; title=&quot;startup option to provide core dumps&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-12259&quot;&gt;&lt;del&gt;SERVER-12259&lt;/del&gt;&lt;/a&gt; Make custom signal handlers defer to default behavior rather than calling quickExit.&lt;/p&gt;

&lt;p&gt;On systems with good support for POSIX signals, by configuring the MongoDB&lt;br/&gt;
custom signal handlers to automatically reset to the default handler when&lt;br/&gt;
executing, and to re-raise fatal signals at the end of the custom handler&lt;br/&gt;
instead of calling quickExit, we can get proper OS behavior for core dumping and&lt;br/&gt;
exiting with signal codes.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/69294c07d62d61f631f974ee852a41ad7087d19b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/69294c07d62d61f631f974ee852a41ad7087d19b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="959269" author="bruce.lucas@10gen.com" created="Tue, 7 Jul 2015 11:45:21 +0000"  >&lt;p&gt;In my opinion simply deferring to o/s settings regarding core files is the best thing to do. Not just ulimit but also kernel.core_pattern, abortd or equivalent, etc. play a role.&lt;/p&gt;</comment>
                            <comment id="958860" author="charlie.page@10gen.com" created="Mon, 6 Jul 2015 20:56:48 +0000"  >&lt;p&gt;On by default and delegate to the OS for consistency on how we handle other settings.  Then we can update the production notes about dumping core.&lt;/p&gt;</comment>
                            <comment id="958857" author="schwerin" created="Mon, 6 Jul 2015 20:52:34 +0000"  >&lt;p&gt;For reference, here&apos;s the &lt;a href=&quot;http://linux.die.net/man/5/core&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;core(5) man page&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="958851" author="schwerin" created="Mon, 6 Jul 2015 20:50:31 +0000"  >&lt;p&gt;I&apos;m working on a patch that causes our signal handlers to delegate to the system default handler for each signal after printing the extra information we want to the logs. It&apos;s pretty straightforward, and has the added advantage that when the mongo process dies with a signal, the parent process can learn what signal via the WIFSIGNALED/WTERMSIG macros on the result of waitpid(). My patch causes the signals that normally produce core dumps to produce core dumps, when ulimit etc allow. This includes anything that calls std::terminate, such as uncaught exceptions.&lt;/p&gt;

&lt;p&gt;My question is, do we want this behavior on by default? The user would still have to enable core dumps by appropriately configuring ulimit. If you&apos;re curious, MMAPv1 data mappings won&apos;t be dumped unless the user changes /proc/PID/coredump_filter bitmask.&lt;/p&gt;</comment>
                            <comment id="958132" author="michael.cahill" created="Mon, 6 Jul 2015 06:42:36 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=martin.bligh&quot; class=&quot;user-hover&quot; rel=&quot;martin.bligh&quot;&gt;martin.bligh&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=dan%4010gen.com&quot; class=&quot;user-hover&quot; rel=&quot;dan@10gen.com&quot;&gt;dan@10gen.com&lt;/a&gt; this came up again in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-19230&quot; title=&quot;WT seg fault on pure read work load&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19230&quot;&gt;&lt;del&gt;SERVER-19230&lt;/del&gt;&lt;/a&gt; &amp;#8211; we&apos;re going to have to close that because we can&apos;t reproduce it and can&apos;t get a core dump to dig deeper.  I think all we&apos;re talking about here is a (possibly undocumented) way to avoid calling setupSignalHandlers.&lt;/p&gt;

&lt;p&gt;Can we get this scheduled?&lt;/p&gt;</comment>
                            <comment id="479159" author="milkie" created="Wed, 8 Jan 2014 20:14:19 +0000"  >&lt;p&gt;This should include equivalent functionality for minidumps on Windows.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="204226">SERVER-18474</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="215868">SERVER-19699</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="214050">SERVER-19230</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>9.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 8 Jan 2014 20:14:19 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 32 weeks, 1 day 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_14262" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>End date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 7 Jul 2015 23:59:59 +0000</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>crystal.horn@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 32 weeks, 1 day 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>schwerin@mongodb.com</customfieldvalue>
            <customfieldvalue>bruce.lucas@mongodb.com</customfieldvalue>
            <customfieldvalue>charlie.page@10gen.com</customfieldvalue>
            <customfieldvalue>milkie@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>michael.cahill@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrm4jb:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4654</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="576">Sharding 6 07/17/15</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_14261" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>Start date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 6 Jan 2014 00:00:00 +0000</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|hs9wsv:</customfieldvalue>

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