You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Joshua Bronson (JIRA)" <ji...@apache.org> on 2009/05/01 20:33:30 UTC

[jira] Commented: (COUCHDB-275) couch crashes erlang vm under heavy load

    [ https://issues.apache.org/jira/browse/COUCHDB-275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12705084#action_12705084 ] 

Joshua Bronson commented on COUCHDB-275:
----------------------------------------

looks like this may have been fixed in the erlang/otp R13B release (just last week). from the release notes[1]:

    OTP-7894  The term_to_binary/1 BIF used to be implemented with
	      recursive C code, which could cause the Erlang emulator to
	      terminate because of a stack overflow.

	      Also fixed some minor issues in term_to_binary/1 and
	      binary_to_term/1 pointed out by Matthew Dempsky.


Has anyone tried R13B yet?

[1] http://erlang.org/download/otp_src_R13B.readme

> couch crashes erlang vm under heavy load
> ----------------------------------------
>
>                 Key: COUCHDB-275
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-275
>             Project: CouchDB
>          Issue Type: Bug
>    Affects Versions: 0.9
>         Environment: Linux melkjug.com 2.6.23-gentoo-r8 #1 SMP Wed Feb 13 14:28:49 EST 2008 x86_64 QEMU Virtual CPU version 0.9.1 GenuineIntel GNU/Linux
>            Reporter: Joshua Bronson
>         Attachments: 2009-03-05-couch.log.snippet, term_to_binary_fix.diff
>
>
> I clicked "Compact" in futon for my 11G database at 9:04 AM EST:
> [Mon, 02 Mar 2009 14:04:32 GMT] [info] [<0.59.0>] Starting compaction for db "melkjug"
> An hour and a half later it was 85% finished and then the following was output to stderr:
> heart: Mon Mar  2 10:33:20 2009: heart-beat time-out.
> /usr/bin/couchdb: line 255: echo: write error: Broken pipe
> heart: Mon Mar  2 10:33:22 2009: Executed "/usr/bin/couchdb -k". Terminating.
> I am retaining my 4.3G melkjug.couch.compact file in case it's useful in debugging this.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.