diff xml/en/docs/http/ngx_http_uwsgi_module.xml @ 1810:bc6341aaa832

Added cache manager parameters to proxy_cache path and friends.
author Yaroslav Zhuravlev <yar@nginx.com>
date Fri, 07 Oct 2016 20:35:11 +0300
parents 621d0c682113
children 35ec213c16cf
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_uwsgi_module.xml
+++ b/xml/en/docs/http/ngx_http_uwsgi_module.xml
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_uwsgi_module"
         link="/en/docs/http/ngx_http_uwsgi_module.html"
         lang="en"
-        rev="29">
+        rev="30">
 
 <section id="summary">
 
@@ -333,6 +333,9 @@ will be cached.
     <literal>keys_zone</literal>=<value>name</value>:<value>size</value>
     [<literal>inactive</literal>=<value>time</value>]
     [<literal>max_size</literal>=<value>size</value>]
+    [<literal>manager_files</literal>=<value>number</value>]
+    [<literal>manager_sleep</literal>=<value>time</value>]
+    [<literal>manager_threshold</literal>=<value>time</value>]
     [<literal>loader_files</literal>=<value>number</value>]
     [<literal>loader_sleep</literal>=<value>time</value>]
     [<literal>loader_threshold</literal>=<value>time</value>]
@@ -398,13 +401,23 @@ By default, <literal>inactive</literal> 
 The special “cache manager” process monitors the maximum cache size set
 by the <literal>max_size</literal> parameter.
 When this size is exceeded, it removes the least recently used data.
+The data is removed in iterations configured by
+<literal>manager_files</literal>,
+<literal>manager_threshold</literal>, and
+<literal>manager_sleep</literal> parameters (1.11.5).
+During one iteration no more than <literal>manager_files</literal> items
+are deleted ( by default, 100).
+The duration of one iteration is limited by the
+<literal>manager_threshold</literal> parameter (by default, 200 milliseconds).
+Between iterations, a pause configured by the <literal>manager_sleep</literal>
+parameter (by default, 50 milliseconds) is made.
 </para>
 
 <para>
 A minute after the start the special “cache loader” process is activated.
 It loads information about previously cached data stored on file system
 into a cache zone.
-The loading is done in iterations.
+The loading is also done in iterations.
 During one iteration no more than <literal>loader_files</literal> items
 are loaded (by default, 100).
 Besides, the duration of one iteration is limited by the