nickva commented on issue #2383: OS Process Error
URL: https://github.com/apache/couchdb/issues/2383#issuecomment-569388484
 
 
   Hi Adam,
   
   Thanks for giving that setting a try.  I had now realized that 64Mb was 
actually the default, wonder if 128Mb would make any difference, then? Maybe 
there is a way to monitor memory usage of the machine to see if there were any 
unexpected large spikes around when the crash was reported.
   
   Another thing that could be happening is that the values emitted are not 
conforming to what a `_stats` reducer would expect. 
https://docs.couchdb.org/en/stable/ddocs/ddocs.html#_stats. There are some 
rules about those:
   
   > _stats can operate on key-value pairs where each value is an array 
comprised of numbers or pre-aggregated objects. In this case every value 
emitted from the map function must be an array, and the arrays must all be the 
same length
   
   Perhaps there is a way to confirm that the shape of emitted values matches 
those rules.
   
   Another idea is to replace the stats reducer with a count or sum reducer and 
see if it would exhibit the crash as well.
   

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