<!-- 
RSS generated by JIRA (5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9) at Tue May 21 08:38:03 CDT 2013

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 add field=key&field=summary to the URL of your request.
For example:
http://www.couchbase.com/issues/si/jira.issueviews:issue-xml/MB-7626/MB-7626.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Couchbase</title>
    <link>http://www.couchbase.com/issues</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>5.2.4</version>
        <build-number>845</build-number>
        <build-date>26-12-2012</build-date>
    </build-info>

<item>
            <title>[MB-7626] [RN 2.0.2] Couchbase continually crashes and restart when Couch bucket is created in OpenVZ environment</title>
                <link>http://www.couchbase.com/issues/browse/MB-7626</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>I have done some QA to help narrow down an issue I have discovered.  &lt;br/&gt;
&lt;br/&gt;
1. Setup Couchbase from 64bit Ubunut 12 package.&lt;br/&gt;
2. Next select a CouchDB bucket.&lt;br/&gt;
3. Next complete the setup.&lt;br/&gt;
&lt;br/&gt;
Expected: Couchbase server and bucket functioning.&lt;br/&gt;
&lt;br/&gt;
Actual: The Couchbase server appears to just keep crashing / i.e. restarting every few seconds.&lt;br/&gt;
&lt;br/&gt;
If I remove the couchDB bucket no crashes / restart occur.&lt;br/&gt;
If I create a memcached bucket only the server is functioning fine and the bucket functions as expected.&lt;br/&gt;
&lt;br/&gt;
This is on a OpenVZ VPS container running Ubuntu 12.04 with a CentOS 6 OS as the host on 2.6.32 kernel.&lt;br/&gt;
&lt;br/&gt;
I went ahead and setup couchbase on another Ubuntu 12.04 dedicated server (exact replica of the above server without the virtualization) and no issues. &lt;br/&gt;
&lt;br/&gt;
What debug output information from the logs would you like to help identify this issue? &lt;br/&gt;
</description>
                <environment>OpenVZ VPS container running Ubuntu 12.04 with a CentOS 6 OS as the host on 2.6.32 kernel.</environment>
            <key id="22053">MB-7626</key>
            <summary>[RN 2.0.2] Couchbase continually crashes and restart when Couch bucket is created in OpenVZ environment</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="4" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/reopened.png">Reopened</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="alkondratenko">Aleksey Kondratenko</assignee>
                                <reporter username="creator11">creator11</reporter>
                        <labels>
                        <label>2.0.1-release-notes</label>
                        <label>2.0.2-release-notes</label>
                    </labels>
                <created>Tue, 29 Jan 2013 15:41:36 -0600</created>
                <updated>Fri, 19 Apr 2013 13:17:00 -0500</updated>
                                    <version>2.0</version>
                <version>2.0.1</version>
                <version>2.0.2</version>
                                <fixVersion>2.1</fixVersion>
                                <component>ns_server</component>
                                <votes>0</votes>
                        <watches>5</watches>
                                                    <comments>
                    <comment id="48952" author="creator11" created="Tue, 29 Jan 2013 16:53:30 -0600"  >Ok I found the fix to this issue.&lt;br/&gt;
&lt;br/&gt;
memsup as a previous bug I found was causing a segmentation fault. Upgraded to latest erlang with erlang-os-mon 2.2.10 and issue has been resolved on an OpenVZ container. I just symlinked to the new version for couchbase to use.</comment>
                    <comment id="48954" author="creator11" created="Tue, 29 Jan 2013 17:38:23 -0600"  >Might be handy to add this to a knowledge base for others, since I have found 2 other people that had similar issues on the web in forums.</comment>
                    <comment id="48966" author="chiyoung" created="Tue, 29 Jan 2013 18:40:24 -0600"  >Farshid,&lt;br/&gt;
&lt;br/&gt;
Please close the bug if it&amp;#39;s not required for the QE verification.</comment>
                    <comment id="51370" author="mikew" created="Mon, 25 Feb 2013 17:42:02 -0600"  >This might be good to add to our documentation.</comment>
                    <comment id="51949" author="kzeller" created="Mon, 4 Mar 2013 15:43:51 -0600"  >Added to 2.0.1 RN:&lt;br/&gt;
&lt;br/&gt;
In OpenVZ Linux containers, the server had crashed and restarted when you &lt;br/&gt;
created a Couchbase bucket. This was due to an issue in the memsup process from Erlang. &lt;br/&gt;
To fix this issue, you should upgrade to the latest version of Erlang, and have Couchbase Server use this version.</comment>
                    <comment id="51950" author="kzeller" created="Mon, 4 Mar 2013 15:43:57 -0600"  >Added to 2.0.1 RN:&lt;br/&gt;
&lt;br/&gt;
In OpenVZ Linux containers, the server had crashed and restarted when you &lt;br/&gt;
created a Couchbase bucket. This was due to an issue in the memsup process from Erlang. &lt;br/&gt;
To fix this issue, you should upgrade to the latest version of Erlang, and have Couchbase Server use this version.</comment>
                    <comment id="51982" author="kzeller" created="Mon, 4 Mar 2013 18:25:37 -0600"  >See RN 2.0.1 addition. If you reopen, please assign to engineer responsible for fixing.</comment>
                    <comment id="52208" author="thuan" created="Thu, 7 Mar 2013 02:20:17 -0600"  >Integrated in ui-testing #11 (See [&lt;a href=&quot;http://qa.hq.northscale.net/job/ui-testing/11/&quot;&gt;http://qa.hq.northscale.net/job/ui-testing/11/&lt;/a&gt;])&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-7626&quot; title=&quot;[RN 2.0.2] Couchbase continually crashes and restart when Couch bucket is created in OpenVZ environment&quot;&gt;MB-7626&lt;/a&gt;: tune rebalance options during cluster setup (Revision 7c828a6a1de4f7c8fb76265766d3eb53f183fe3e)&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Result = SUCCESS&lt;br/&gt;
pavelpaulau : &lt;br/&gt;
Files : &lt;br/&gt;
* pytests/performance/perf.py&lt;br/&gt;
</comment>
                    <comment id="53161" author="perry" created="Wed, 20 Mar 2013 10:33:25 -0500"  >Karen, can you provide instructions on which version of Erlang to use here and instructions on how to apply the workaround mentioned?</comment>
                    <comment id="53163" author="kzeller" created="Wed, 20 Mar 2013 10:38:00 -0500"  >Hi,&lt;br/&gt;
&lt;br/&gt;
Can you provide the version of Erlang I Ishould document, and is the workaround just to upgrade to this version? Or are there other steps someone must do in order to upgrade to Erlang using CB?&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Thanks,&lt;br/&gt;
&lt;br/&gt;
Karen&lt;br/&gt;
</comment>
                    <comment id="53168" author="Vindobona" created="Wed, 20 Mar 2013 10:46:48 -0500"  >I&amp;#39;ve actually applied the the Workaround for &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-4376&quot; title=&quot;setup get HDD and memory totale and free space wrong (0Mb)&quot;&gt;&lt;strike&gt;MB-4376&lt;/strike&gt;&lt;/a&gt; successfully (at least for a development environment) to CB 2.0.1 as I didn&amp;#39;t succeed in getting CB to use a entirely different version of Erlang.</comment>
                    <comment id="53252" author="perry" created="Thu, 21 Mar 2013 11:31:29 -0500"  >Note that we have confirmed through another customer that the workaround in mb-4376 is successful.&lt;br/&gt;
&lt;br/&gt;
Can this get rolled into 2.0.2?</comment>
                    <comment id="53253" author="kzeller" created="Thu, 21 Mar 2013 11:42:45 -0500"  >Hi Perry, confirm this, ignore formatting (will go in release notes, where workarounds, known issues, etc. go):&lt;br/&gt;
&lt;br/&gt;
=========&lt;br/&gt;
&lt;br/&gt;
last email from prospect: &lt;br/&gt;
I&#8217;ve solved the problem by compiling memsup with the patch mentioned in &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-4376&quot;&gt;http://www.couchbase.com/issues/browse/MB-4376&lt;/a&gt; applied. This patch is included in the R15B01 release of Erlang. Perhaps Issue 4376 shouldn&#8217;t be marked fixed until Couchbase is using Erlang R15B01 or later? &lt;br/&gt;
&lt;br/&gt;
==========&lt;br/&gt;
&lt;br/&gt;
Existing content:&lt;br/&gt;
&lt;br/&gt;
In OpenVZ Linux containers, the server had crashed and restarted when you created a Couchbase bucket. This was due to an issue in the memsup process from Erlang. To fix this issue, you should upgrade to the latest version of Erlang, and have Couchbase Server use this version.&lt;br/&gt;
&lt;br/&gt;
Proposed addition: &lt;br/&gt;
&lt;br/&gt;
1) You should stop Couchbase server&lt;br/&gt;
2) Make a copy of your original memsup then apply the patch available on GitHub:  &lt;a href=&quot;https://github.com/vorobev/otp/compare/maint-memsup.patch&quot;&gt;https://github.com/vorobev/otp/compare/maint-memsup.patch&lt;/a&gt; &lt;br/&gt;
&lt;br/&gt;
You can also download the following two files and compile yourself:&lt;br/&gt;
&lt;br/&gt;
-https://raw.github.com/vorobev/otp/maint-memsup/lib/os_mon/c_src/memsup.c &lt;br/&gt;
&lt;br/&gt;
-https://raw.github.com/vorobev/otp/maint-memsup/lib/os_mon/c_src/memsup.h &lt;br/&gt;
&lt;br/&gt;
gcc memsup.c -o memsup&lt;br/&gt;
&lt;br/&gt;
Place the compiled code in /opt/membase/lib/erlang/lib/os_mon-2.2.5/priv/bin/&lt;br/&gt;
&lt;br/&gt;
3) Restart Couchbase Server&lt;br/&gt;
</comment>
                    <comment id="53254" author="perry" created="Thu, 21 Mar 2013 11:58:40 -0500"  >That&amp;#39;s fine from a workaround perspective I guess...but my request was more about actually fixing the bug for 2.0.2.&lt;br/&gt;
&lt;br/&gt;
I&amp;#39;ll add the ns_server component.&lt;br/&gt;
&lt;br/&gt;
Thanks</comment>
                    <comment id="53780" author="kzeller" created="Thu, 28 Mar 2013 15:52:29 -0500"  >Added content:&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;https://github.com/couchbase/docs/commit/b8094b5c61802fb4b76f0ae6c9f4979c5f1aa6f4&quot;&gt;https://github.com/couchbase/docs/commit/b8094b5c61802fb4b76f0ae6c9f4979c5f1aa6f4&lt;/a&gt;</comment>
                    <comment id="53781" author="kzeller" created="Thu, 28 Mar 2013 15:52:34 -0500"  >Added content:&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;https://github.com/couchbase/docs/commit/b8094b5c61802fb4b76f0ae6c9f4979c5f1aa6f4&quot;&gt;https://github.com/couchbase/docs/commit/b8094b5c61802fb4b76f0ae6c9f4979c5f1aa6f4&lt;/a&gt;</comment>
                    <comment id="53831" author="perry" created="Fri, 29 Mar 2013 16:53:36 -0500"  >Karen, this isn&amp;#39;t just about documentation, this is a bug that needs to be fixed in the product.</comment>
                    <comment id="55196" author="maria" created="Tue, 16 Apr 2013 13:19:48 -0500"  >deferring out of 2.0.2</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10001">
                <name>Duplicate</name>
                                                <inwardlinks description="is duplicated by">
                            <issuelink>
            <issuekey id="15467">MB-4376</issuekey>
        </issuelink>
                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Tue, 29 Jan 2013 18:40:24 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10010" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                <customfieldname>Flagged</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10010"><![CDATA[Release Note]]></customfieldvalue>
    
                </customfieldvalues>
            </customfield>
                                                                                                                                                <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>1997</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>