I've built couch 0.11.0 on Solaris 10 and am having problems
with js views. When the view is run, the following error
message is repeatedly written to the couch log until couch is shutdown:
[Wed, 19 May 2010 19:45:54 GMT] [error] [<0.131.0>] OS Process
Error <0.22346.0> :: {os_process_error,{exit_status,137}}
The view function is this:
function(doc) {
emit(1, doc);
}
but any function seems to trigger the problem., including ones
from the Test Suite. A reduce function is not defined. There
are three documents in the database, including two design docs.
I have the erlang view server configured, and erlang views work fine.
Periodically, the following message is reported:
[Wed, 19 May 2010 19:43:19 GMT] [error] [<0.2592.7>] ** Generic
server <0.2592.7> terminating
** Last message in was {prompt,[<<"reset">>,{[{<<"reduce_limit">>,true}]}]}
** When Server state ==
{os_proc,"/opt/MIIpkgs/couchdb-0.11.0/bin/couchjs /opt/MIIpkgs/couchdb-0.11.0/share/couchdb/server/main.js",
#Port<0.155313>,
#Fun<couch_os_process.0.132953560>,
#Fun<couch_os_process.1.15901032>,5000}
** Reason for termination ==
** {badarg,[{erlang,port_command,
[#Port<0.155313>,
[91,
[34,<<"reset">>,34],
44,
[123,[34,<<"reduce_limit">>,34],58,<<"true">>,125],
93,10]]},
{couch_os_process,writeline,2},
{couch_os_process,writejson,2},
{couch_os_process,handle_call,3},
{gen_server,handle_msg,5},
{proc_lib,init_p_do_apply,3}]}
Any help would be appreciated.
Matt