OpenSearch/distribution
Tim Brooks af908efa41
Disable netty direct buffer pooling by default (#44837)
Elasticsearch does not grant Netty reflection access to get Unsafe. The
only mechanism that currently exists to free direct buffers in a timely
manner is to use Unsafe. This leads to the occasional scenario, under
heavy network load, that direct byte buffers can slowly build up without
being freed.

This commit disables Netty direct buffer pooling and moves to a strategy
of using a single thread-local direct buffer for interfacing with sockets.
This will reduce the memory usage from networking. Elasticsearch
currently derives very little value from direct buffer usage (TLS,
compression, Lucene, Elasticsearch handling, etc all use heap bytes). So
this seems like the correct trade-off until that changes.
2019-08-08 15:10:31 -06:00
..
archives convert EmptyDirTask.groovy to .java (#34672) 2019-06-13 12:21:23 +03:00
bwc Change how we pick bwc versions to check out (#45189) 2019-08-07 16:44:38 +03:00
docker Introduce formal node ML role (#45174) 2019-08-06 13:00:05 -04:00
licenses Add notice for bundled jdk (#40576) 2019-03-29 17:21:21 -04:00
packages Notify systemd when Elasticsearch is ready (#44673) 2019-07-24 14:04:36 +09:00
src Fix types field in JSON Search Slow Logs (#44641) 2019-07-22 12:02:20 +02:00
tools Disable netty direct buffer pooling by default (#44837) 2019-08-08 15:10:31 -06:00
build.gradle Notify systemd when Elasticsearch is ready (#44673) 2019-07-24 14:04:36 +09:00