<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:15:27 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-7737] Error in init.d with numactl command on debian 6</title>
                <link>https://jira.mongodb.org/browse/SERVER-7737</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;We have a replica set of 3 mongo server running on 3 hosts under debian 6x linux.&lt;br/&gt;
They were running with mongodb 2.0.2 and we are trying a migration to mongodb 2.2.1.&lt;/p&gt;

&lt;p&gt;On test cluster everything went fine.&lt;br/&gt;
On prod cluster, we modified the init.d script some time ago to correctly handle NUMA options.&lt;/p&gt;


&lt;p&gt;In mongodb 2.2.1, the numa is directly handled in the script delivered by the package with the following lines;&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Handle NUMA access to CPUs (&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3574&quot; title=&quot;add numactl to init scripts &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3574&quot;&gt;&lt;del&gt;SERVER-3574&lt;/del&gt;&lt;/a&gt;)&lt;/li&gt;
	&lt;li&gt;This verifies the existence of numactl as well as testing that the command works&lt;br/&gt;
NUMACTL_ARGS=&quot;--interleave=all&quot;&lt;br/&gt;
if which numactl &amp;gt;/dev/null 2&amp;gt;/dev/null &amp;amp;&amp;amp; numactl $NUMACTL_ARGS ls / &amp;gt;/dev/null 2&amp;gt;/dev/null&lt;br/&gt;
then&lt;br/&gt;
    NUMACTL=&quot;numactl $NUMACTL_ARGS&quot;&lt;br/&gt;
else&lt;br/&gt;
    NUMACTL=&quot;&quot;&lt;br/&gt;
fi&lt;br/&gt;
...&lt;br/&gt;
start_server() {&lt;/li&gt;
	&lt;li&gt;Start the process using the wrapper&lt;br/&gt;
            start-stop-daemon --background --start --quiet --pidfile $PIDFILE \&lt;br/&gt;
                        --make-pidfile --chuid $DAEMONUSER \&lt;br/&gt;
                        --exec $NUMACTL $DAEMON &amp;#8211; $DAEMON_OPTS&lt;br/&gt;
            errcode=$?&lt;br/&gt;
        return $errcode&lt;br/&gt;
}&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;Unfortunately, this does not work, I get the error: &quot;unrecognized option &apos;--interleave=all&apos;&quot;&lt;/p&gt;

&lt;p&gt;After some investigation it seems that the &apos;--&apos; is badly placed and the init.d script should instead contain the following lines:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Handle NUMA access to CPUs (&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3574&quot; title=&quot;add numactl to init scripts &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3574&quot;&gt;&lt;del&gt;SERVER-3574&lt;/del&gt;&lt;/a&gt;)&lt;/li&gt;
	&lt;li&gt;This verifies the existence of numactl as well as testing that the command works&lt;br/&gt;
NUMACTL_ARGS=&quot;--interleave=all&quot;&lt;br/&gt;
if which numactl &amp;gt;/dev/null 2&amp;gt;/dev/null &amp;amp;&amp;amp; numactl $NUMACTL_ARGS ls / &amp;gt;/dev/null 2&amp;gt;/dev/null&lt;br/&gt;
then&lt;/li&gt;
	&lt;li&gt;NUMACTL=&quot;numactl $NUMACTL_ARGS&quot;&lt;br/&gt;
    NUMACTL=&quot;/usr/bin/numactl &amp;#8211; $NUMACTL_ARGS&quot;&lt;br/&gt;
else&lt;br/&gt;
    NUMACTL=&quot;&quot;&lt;br/&gt;
fi&lt;br/&gt;
...&lt;br/&gt;
start_server() {&lt;/li&gt;
	&lt;li&gt;Start the process using the wrapper&lt;br/&gt;
            start-stop-daemon --background --start --quiet --pidfile $PIDFILE \&lt;br/&gt;
                        --make-pidfile --chuid $DAEMONUSER \&lt;br/&gt;
                        --exec $NUMACTL $DAEMON $DAEMON_OPTS&lt;br/&gt;
            errcode=$?&lt;br/&gt;
        return $errcode&lt;br/&gt;
}&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;Could you please fix it in later mongodb releases/patches?&lt;/p&gt;

&lt;p&gt;Regards&lt;/p&gt;</description>
                <environment>Linux debian 6x</environment>
        <key id="57124">SERVER-7737</key>
            <summary>Error in init.d with numactl command on debian 6</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="3">Duplicate</resolution>
                                        <assignee username="akshay@mongodb.com">Akshay Kumar</assignee>
                                    <reporter username="gdegremont">Guillaume Degremont</reporter>
                        <labels>
                    </labels>
                <created>Wed, 21 Nov 2012 13:17:48 +0000</created>
                <updated>Thu, 14 Feb 2013 15:29:25 +0000</updated>
                            <resolved>Thu, 14 Feb 2013 15:29:25 +0000</resolved>
                                    <version>2.2.1</version>
                                                    <component>Packaging</component>
                                        <votes>1</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="250089" author="matt.pippitt@bodybuilding.com" created="Fri, 25 Jan 2013 22:36:21 +0000"  >&lt;p&gt;I&apos;m seeing this same issue, so I&apos;m having to manage the script with puppet so mongo will start on numa enabled systems.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="40478">SERVER-6008</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>1.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 Nov 2012 15:46:02 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            11 years, 3 weeks, 5 days 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_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>akshay@mongodb.com</customfieldvalue>
            <customfieldvalue>gdegremont</customfieldvalue>
            <customfieldvalue>matt.pippitt@bodybuilding.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrngvb:</customfieldvalue>

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

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

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