You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Danny Thuering (JIRA)" <ji...@apache.org> on 2014/07/19 22:20:38 UTC

[jira] [Closed] (COUCHDB-2267) Views suddenly stopped working with os_process_error

     [ https://issues.apache.org/jira/browse/COUCHDB-2267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Danny Thuering closed COUCHDB-2267.
-----------------------------------

    Resolution: Fixed

The log file on the replicating server showed an error 1043: "lexical error: invalid bytes in UTF8 string.\n" and the corresponding document id. 
So I was able to delete it from the main server. Modifying was not possible.
The UTF8 character was in the content type field of an attachment. We fixed our application that writes the field to the db.
Thanks for your help!


> 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)