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

Joan Touzet commented on COUCHDB-2267:
--------------------------------------

Try invoking couchjs from the command line, or using {{ldd}} on it. It may be 
that a system update screwed up one of the libraries against which it compiles 
(most commonly, updating the version of spidermonkey).

> Views suddenly stopped working with os_process_error 
> -----------------------------------------------------
>
>                 Key: COUCHDB-2267
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2267
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Database Core
>            Reporter: Danny Thuering
>
> Hi,
> we use CouchDb for one of our projects and it worked very well till today.
> Logfile shows:
> {code}
> [Mon, 14 Jul 2014 19:21:32 GMT] [info] [<0.19826.0>] 62.203.116.116 - - GET 
> /_config/native_query_servers/ 200
> [error] [<0.19843.0>] OS Process Error <0.19845.0> :: {os_process_error,
>                                                        {exit_status,1}}
> [Mon, 14 Jul 2014 19:21:32 GMT] [error] [<0.19843.0>] OS Process Error 
> <0.19845.0> :: {os_process_error,
>                                                        {exit_status,1}}
> [error] [emulator] Error in process <0.19843.0> with exit value: 
> {{nocatch,{os_process_error,{exit_status,1}}},[{couch_os_process,prompt,2,[{file,"couch_os_process.erl"},{line,57}]},{couch_query_servers,map_doc_raw,2,[{file,"couch_query_servers.erl"},{line,88}]},{couch_mrview_updater,'-map_docs/2-fun-0-'...
> [Mon, 14 Jul 2014 19:21:32 GMT] [error] [emulator] Error in process 
> <0.19843.0> with exit value: 
> {{nocatch,{os_process_error,{exit_status,1}}},[{couch_os_process,prompt,2,[{file,"couch_os_process.erl"},{line,57}]},{couch_query_servers,map_doc_raw,2,[{file,"couch_query_servers.erl"},{line,88}]},{couch_mrview_updater,'-map_docs/2-fun-0-'...
> =ERROR REPORT==== 14-Jul-2014::19:21:32 ===
> Error in process <0.19843.0> with exit value: 
> {{nocatch,{os_process_error,{exit_status,1}}},[{couch_os_process,prompt,2,[{file,"couch_os_process.erl"},{line,57}]},{couch_query_servers,map_doc_raw,2,[{file,"couch_query_servers.erl"},{line,88}]},{couch_mrview_updater,'-map_docs/2-fun-0-'...
> [info] [<0.19822.0>] 62.203.116.116 - - GET 
> /adsnooper/_design/unify/_view/empties?limit=11&reduce=false 500
> [Mon, 14 Jul 2014 19:21:32 GMT] [info] [<0.19822.0>] 62.203.116.116 - - GET 
> /adsnooper/_design/unify/_view/empties?limit=11&reduce=false 500
> [error] [<0.19822.0>] httpd 500 error response:
>  {"error":"os_process_error","reason":"{exit_status,1}"}
> [Mon, 14 Jul 2014 19:21:32 GMT] [error] [<0.19822.0>] httpd 500 error 
> response:
>  {"error":"os_process_error","reason":"{exit_status,1}"}
> {code}
> Tried to increase the stack memory to 1GB but this did not help.
> We are running 1.5.0 on FreeBSD 9.2. Database is 210GB with 3.5M documents.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to