couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey McGee <>
Subject Views in Couchdb 1.0.1 on Ubuntu 9.10
Date Thu, 28 Oct 2010 14:37:22 GMT
I'm trying to install couchdb 1.0.1 on an ubuntu 9.10, and I'm running into
a lot of troubles with creating views for a large dataset. (250,000
documents).  It works fine for small datasets.

I copied all of the documents to my mac laptop and the view works there.
 Here is the view function:
function(doc) {
  if(doc.doc_type=="User" &&

Couchjs seems to be working fine on its own:
> bin/couchjs share/couchdb/server/main.js

I run into the same problem in both couchdb built from source and the
binaries from  The "make check" tests pass, and the tests in the
test suite pass iff I run them in Firefox.  (etags_views fails with the
message "Assertion failed: xhr.status == 304", but passes if I click run
with debugger.)

Here is a bit of the server log:
[Thu, 28 Oct 2010 05:12:44 GMT] [info] [<0.31784.7>] checkpointing view
update at seq 1878 for bcstx _design/user
[Thu, 28 Oct 2010 05:12:46 GMT] [error] [<0.31792.7>] OS Process Error
<0.31794.7> :: {os_process_error,{exit_status,0}}
[Thu, 28 Oct 2010 05:12:46 GMT] [error] [emulator] Error in process
<0.31792.7> with exit value:

[Thu, 28 Oct 2010 05:12:46 GMT] [error] [<0.31784.7>] ** Generic server
<0.31784.7> terminating
** Last message in was {'EXIT',<0.31788.7>,


** When Server state == {group_state,undefined,<<"bcstx">>,

                             <<"function(doc) {\n  if(doc.doc_type==\"User\"
&&\n    emit(,null);\n}\n">>,
There is more at .

I eventually installed the python-couchdb view server, and rewrote my views
in python.  That works just fine.

Dost thou love life? Then do not squander time,
for that's the stuff life is made of.
--Benjamin Franklin

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message