[
https://issues.apache.org/jira/browse/COUCHDB-1944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13835650#comment-13835650
]
Robert Newson commented on COUCHDB-1944:
----------------------------------------
sounds like you need to increase stack size;
curl localhost:5984/_config/query_servers/javascript -X PUT -d
'$ROOT/bin/couchjs -S 8388608 $ROOT/share/couchjs/main.js'
adjust $ROOT to your install root.
I note, in passing, that 5MB of JSON is unwieldy and might indicate a design
problem (a document that represents multiple things, that might be better split
out into many smaller documents).
> OS process error
> ----------------
>
> Key: COUCHDB-1944
> URL: https://issues.apache.org/jira/browse/COUCHDB-1944
> Project: CouchDB
> Issue Type: Bug
> Components: JavaScript View Server, View Server Support
> Reporter: Romashkin Nikita
>
> on prevoius version 1.3.0 i get os_process_error,
> {exit_status,1}}
> I uninstall my previous version 1.3.0 of CouchDB and installed 1.5.0 for the
> problem with javascript memory issue and encountered os_process_error.
> Platform:
> Linux 3.2.0-56-generic #86-Ubuntu SMP Wed Oct 23 09:20:45 UTC 2013 x86_64
> x86_64 x86_64 GNU/Linux
> Some documents have size more, than 5Mb
> Or my function in view is slow? I try os_process_timeout = 600000000, ang get
> OS Process Error
>
> record from error.log:
> [Sat, 30 Nov 2013 10:05:58 GMT] [error] [<0.31454.2>] OS Process Error
> <0.31456.2> :: {os_process_error,
> {exit_status,1}}
> [Sat, 30 Nov 2013 10:05:58 GMT] [error] [emulator] Error in process
> <0.31454.2> with exit value:
> {{nocatch,{os_process_error,{exit_status,1}}},[{couch_os_process,prompt,2},{couch_query_servers,map_doc_raw,2},{couch_mrview_updater,'-map_docs/2-fun-0-',3},{lists,foldl,3},{couch_mrview_updater,map_docs,2}]}
> [Sat, 30 Nov 2013 10:05:58 GMT] [error] [<0.31239.2>] httpd 500 error
> response:
> {"error":"os_process_error","reason":"{exit_status,1}"}
--
This message was sent by Atlassian JIRA
(v6.1#6144)