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 2018/01/16 23:09:31 UTC
[GitHub] wohali commented on issue #1071: [Question] CouchDB crashed during benchmark
wohali commented on issue #1071: [Question] CouchDB crashed during benchmark
URL: https://github.com/apache/couchdb/issues/1071#issuecomment-358138570
So in the first paste, CouchDB is saying that an external OS process (couchjs) terminated with exit code 137.
137=128+9, which means some other process has sent you a signal 9, which is SIGKILL. Presumably the kernel oomkiller killed your couchjs process.
My guess? It's your alteration of +A and os_process_limit.
Do not modify +A to such a large number. Our default of `+A 16` is correct for most machines, only needing to be *lowered* for smaller machines. (The default Erlang value is 10.) Read more about it here: https://stackoverflow.com/questions/13479142/when-is-it-appropriate-to-increase-the-async-thread-size-from-zero#13497717
The `os_process_limit` value defines how many `couchjs` processes can run at once. Typically you want this to be `# of cores - 1` at most (leaving a core for Erlang and I/O handling), but sometimes less, if you are running more than just CouchDB on a machine (say, the clouseau/dreyfus full-text indexing functionality.)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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