OpenSearch/modules
Jason Tedor 595ec8c948 Remove artificial default processors limit
Today Elasticsearch limits the number of processors used in computing
thread counts to 32. This was from a time when Elasticsearch created
more threads than it does now and users would run into out of memory
errors. It appears the real cause of these out of memory errors was not
well understood (it's often due to ulimit settings) and so users were
left hitting these out of memory errors on boxes with high core
counts. Today Elasticsearch creates less threads (but still a lot) and
we have a bootstrap check in place to ensure that the relevant ulimit is
not too low.

There are some caveats still to having too many concurrent indexing
threads as it can lead to too many little segments, and it's not a
magical go faster knob if indexing is already bottlenecked by disk, but
this limitation is artificial and surprising to users and so it should
be removed.

This commit also increases the lower bound of the max processes ulimit,
to prepare for a world where Elasticsearch instances might be running
with more the previous cap of 32 processors. With the current settings,
Elasticsearch wants to create roughly 576 + 25 * p / 2 threads, where p
is the number of processors. Add in roughly 7 * p / 8 threads for the GC
threads and a fudge factor, and 4096 should cover us pretty well up to
256 cores.

Relates #20874
2016-10-14 05:47:26 -04:00
..
aggs-matrix-stats Remove empty javadoc (#20871) 2016-10-12 10:27:09 +02:00
ingest-common docs: marked `foreach` processor as experimental 2016-09-30 12:23:42 +02:00
lang-expression Upgrade to Lucene 6.2.0 2016-08-24 17:26:28 -04:00
lang-groovy Fix wrong logger usages 2016-09-21 14:45:28 +02:00
lang-mustache Mustache: Add {{#url}}{{/url}} function to URL encode strings (#20838) 2016-10-13 16:17:28 +02:00
lang-painless XContentBuilder: Avoid building self-referencing objects (#20550) 2016-10-11 11:41:54 +02:00
percolator Replace org.elasticsearch.common.lucene.search.MatchNoDocsQuery with its Lucene version (org.apache.lucene.search.MatchNoDocsQuery) (#20832) 2016-10-10 17:45:19 +02:00
reindex Merge branch 'master' into cleanup/transport_bulk 2016-10-11 16:04:47 -04:00
transport-netty3 Remove artificial default processors limit 2016-10-14 05:47:26 -04:00
transport-netty4 Remove artificial default processors limit 2016-10-14 05:47:26 -04:00
build.gradle Build: Remove old maven deploy support (#20403) 2016-09-19 15:10:41 -07:00