From 9946a1a8ce129dbaaee2bd616d46d277774e4fe6 Mon Sep 17 00:00:00 2001 From: Ilan Steemers Date: Sun, 5 Jul 2020 18:21:51 +0200 Subject: [PATCH] Adds max_rss to the docs --- docs/configure.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/configure.rst b/docs/configure.rst index 85bed64..16801b1 100644 --- a/docs/configure.rst +++ b/docs/configure.rst @@ -51,6 +51,13 @@ recycle The number of tasks a worker will process before recycling . Useful to release memory resources on a regular basis. Defaults to ``500``. +max_rss +~~~~~~~ + +The maximum resident set size in kilobytes before a worker will recycle and release resources. Useful for limiting memory usage. +Only supported on platforms that implement the python resource module or install the :ref:`psutil` module. +Defaults to ``None``. + .. _timeout: timeout