From c94663ed94421cb4c6b7199204035418c873a255 Mon Sep 17 00:00:00 2001 From: Annie Elliott Date: Thu, 3 Sep 2020 09:09:14 -0700 Subject: [PATCH] Adding ulimits guidance to deployment doc --- .../src/main/sphinx/installation/deployment.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/presto-docs/src/main/sphinx/installation/deployment.rst b/presto-docs/src/main/sphinx/installation/deployment.rst index d324d8f54225..58a8684b8489 100644 --- a/presto-docs/src/main/sphinx/installation/deployment.rst +++ b/presto-docs/src/main/sphinx/installation/deployment.rst @@ -10,6 +10,17 @@ Linux Operating System * 64-bit required * newer release preferred, especially when running on containers +* adequate ulimits for the user that runs the Presto process. These limits + may depend on the specific Linux distribution you are using. The number + of open file descriptors needed for a particular Presto instance scales + as roughly the number of machines in the cluster, times some factor + depending on the workload. We recommend the following limits, which can + typically be set in ``/etc/security/limits.conf``: + +.. code-block:: none + + presto soft nofile 131072 + presto hard nofile 131072 .. _requirements-java: