akircher opened a new issue #2383: OS Process Error
URL: https://github.com/apache/couchdb/issues/2383
 
 
   [NOTE]: # 
   
   A several views will not compile on a fresh install of CouchDB 2.3.1.  They 
fail with the following:
   http: 
`{"error":"os_process_error","reason":"{exit_status,1}","ref":4089041121}`
   logs:
   ```
   [info] 2019-12-26T22:29:21.028998Z [email protected] <0.227.0> -------- 
couch_proc_manager <0.23626.187> died normal
   [error] 2019-12-26T22:29:21.029229Z [email protected] <0.4416.235> -------- 
OS Process Error <0.23626.187> :: {os_process_error,{exit_status,1}}
   [error] 2019-12-26T22:29:21.030147Z [email protected] emulator -------- 
Error in process <0.4416.235> on node '[email protected]' with exit value:
   
{{nocatch,{os_process_error,{exit_status,1}}},[{couch_os_process,prompt,2,[{file,"src/couch_os_process.erl"},{line,59}]},{couch_query_servers,map_doc_raw,2,[{file,$
   [error] 2019-12-26T22:29:21.031315Z [email protected] <0.9675.235> 
769c1b9dd2 rexi_server: from: [email protected](<0.9537.235>) mfa: 
fabric_rpc:reduce_view/4 thro$
   [error] 2019-12-26T22:29:21.031683Z [email protected] <0.9537.235> 
769c1b9dd2 req_err(4089041121) os_process_error : {exit_status,1}
       [<<"couch_mrview_util:get_view_index_state/5 
L137">>,<<"couch_mrview_util:get_view/4 L81">>,<<"couch_mrview:query_view/6 
L247">>,<<"rexi_server:init_p/3 L140">$
   ```
   
   ## Description
   
   I have tried increasing  
   `[couchdb] os_process_timeout to 120000`; and
   `[fabric] request_timeout to 120000`
   
   I have also tried deleting the database and re-replicating it but none of 
the above have worked.  Documents are all small and look like this:
   
   ```
   {
     "_id": "2017-06-21T19:19:26.979555Z",
     "_rev": "22-f78246e507328744138d77328ae67a87",
     "qty": {
       "from": null,
       "to": 3
     },
     "exp": {
       "from": null,
       "to": "2017-09-30T04:00:00.000Z"
     },
     "drug": {
       "_id": "0378-6232",
       "price": {
         "goodrx": 0.2333,
         "nadac": 0.0324,
         "updatedAt": "2016-11-15T21:55:03.794Z"
       },
       "brand": "Celexa",
       "generic": "Citalopram 20mg",
       "generics": [
         {
           "name": "Citalopram",
           "strength": "20mg"
         }
       ],
       "form": "Tablet",
       "gsns": "46203"
     },
     "user": {
       "_id": "8889875187"
     },
     "shipment": {
       "_id": "8889875187.2017-06-21T19:14:48.7275249333"
     },
     "bin": null,
     "next": [
       {
         "disposed": {},
         "createdAt": "2017-06-21T19:19:26.979Z"
       }
     ],
     "updatedAt": "2019-12-16T19:21:19.333Z",
     "verifiedAt": null
   }
   ```
   
   Can someone let me know if this is a known bug (related to 
https://github.com/apache/couchdb/issues/1966?) or if I am doing something 
wrong.
   
   ## Your Environment
   AWS EC2 Ubuntu 16.04LTS
   
   CouchDB:
   ```
   echo "deb https://apache.bintray.com/couchdb-deb xenial main" | sudo tee -a 
/etc/apt/sources.list #note: xenial is for Ubuntu 16
   curl -L https://couchdb.apache.org/repo/bintray-pubkey.asc | sudo apt-key 
add -
   sudo apt-get update && sudo apt-get install couchdb
   ```
   
   Thank you in advance for the help and your work on such a great project!!!
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to