Activity

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.

creator11
added a comment - 29/Jan/13 4:53 PM Ok I found the fix to this issue.
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.

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.

kzeller
added a comment - 04/Mar/13 3:43 PM Added to 2.0.1 RN:
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.

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.

kzeller
added a comment - 04/Mar/13 3:43 PM Added to 2.0.1 RN:
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.

kzeller
added a comment - 20/Mar/13 10:38 AM Hi,
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?
Thanks,
Karen

Joseph H.
added a comment - 20/Mar/13 10:46 AM - edited I've actually applied the the Workaround for MB-4376 successfully (at least for a development environment) to CB 2.0.1 as I didn't succeed in getting CB to use a entirely different version of Erlang.

last email from prospect:
I’ve solved the problem by compiling memsup with the patch mentioned in http://www.couchbase.com/issues/browse/MB-4376 applied. This patch is included in the R15B01 release of Erlang. Perhaps Issue 4376 shouldn’t be marked fixed until Couchbase is using Erlang R15B01 or later?

==========

Existing content:

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.

kzeller
added a comment - 21/Mar/13 11:42 AM Hi Perry, confirm this, ignore formatting (will go in release notes, where workarounds, known issues, etc. go):
=========
last email from prospect:
I’ve solved the problem by compiling memsup with the patch mentioned in http://www.couchbase.com/issues/browse/MB-4376 applied. This patch is included in the R15B01 release of Erlang. Perhaps Issue 4376 shouldn’t be marked fixed until Couchbase is using Erlang R15B01 or later?
==========
Existing content:
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.
Proposed addition:
1) You should stop Couchbase server
2) Make a copy of your original memsup then apply the patch available on GitHub: https://github.com/vorobev/otp/compare/maint-memsup.patch
You can also download the following two files and compile yourself:
- https://raw.github.com/vorobev/otp/maint-memsup/lib/os_mon/c_src/memsup.c
- https://raw.github.com/vorobev/otp/maint-memsup/lib/os_mon/c_src/memsup.h
gcc memsup.c -o memsup
Place the compiled code in /opt/membase/lib/erlang/lib/os_mon-2.2.5/priv/bin/
3) Restart Couchbase Server

This is sort of a big issue for us - we were considering deploying couchbase on some rather beefy virtual servers here. In our case, we're using proxmox, and couchbase 2.2.0_community and 2.5.1 both have the issue... which makes them unusable.

Drew Schatt
added a comment - 07/Apr/14 5:17 PM This is sort of a big issue for us - we were considering deploying couchbase on some rather beefy virtual servers here. In our case, we're using proxmox, and couchbase 2.2.0_community and 2.5.1 both have the issue... which makes them unusable.