You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2019/12/27 01:06:10 UTC

[GitHub] [couchdb] nickva commented on issue #2383: OS Process Error

nickva commented on issue #2383: OS Process Error
URL: https://github.com/apache/couchdb/issues/2383#issuecomment-569159160
 
 
   @akircher thanks for your report.
   
   Do you by chance use a custom reduce?
   
   (Asking since saw the ` fabric_rpc:reduce_view/4` line the traceback above)..
   
   If you do, make sure the reduce function reduces the values it outputs, otherwise you could be running out of memory or get time outs.
   
   If your reduce function is ok, you might consider increasing the default couchjs stack size. Try setting to say 32MB and see if it makes a difference.
   
   In 2.3.* it's specified as a OS environment variable only not via the *.ini files. I could modify it by editing the bin/couchdb file
   
   ```
   ...
   export COUCHDB_QUERY_SERVER_JAVASCRIPT="./bin/couchjs ./share/server/main.js -S 33554430"
   ...
   ```

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services