[
https://issues.apache.org/jira/browse/COUCHDB-2267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14061284#comment-14061284
]
Danny Thuering commented on COUCHDB-2267:
-----------------------------------------
Yes, can still query my views using stale=ok.
Now I have three approaches.
1) Replicating the db. Perhaps the invalid doc gets filtered out.
2) Writing a script that compares all id's from my view (queried using
stale=ok) with the id's returned by querying all documents.
3) Get every document sorted by time backwards and lint the response.
As stale=ok works I think that the corrupt doc is not indexed yet...
Thanks for your help. Will get back with my findings.
> 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)