# HG changeset patch # User Maxim Dounin # Date 1400173135 -14400 # Node ID f25d00109de008204aac49b3c19d6e80ddb8c206 # Parent 5d0cc9f886f44268bf8aefb7ed3de41838a884e4 Documented cache keys_zone memory estimates. diff -r 5d0cc9f886f4 -r f25d00109de0 xml/en/docs/http/ngx_http_fastcgi_module.xml --- a/xml/en/docs/http/ngx_http_fastcgi_module.xml Wed May 14 18:36:58 2014 +0400 +++ b/xml/en/docs/http/ngx_http_fastcgi_module.xml Thu May 15 20:58:55 2014 +0400 @@ -10,7 +10,7 @@ + rev="15">
@@ -340,6 +340,10 @@ In addition, all active keys and information about data are stored in a shared memory zone, whose name and size are configured by the keys_zone parameter. +One megabyte zone can store about 8 thousand keys. + + + Cached data that are not accessed during the time specified by the inactive parameter get removed from the cache regardless of their freshness. diff -r 5d0cc9f886f4 -r f25d00109de0 xml/en/docs/http/ngx_http_proxy_module.xml --- a/xml/en/docs/http/ngx_http_proxy_module.xml Wed May 14 18:36:58 2014 +0400 +++ b/xml/en/docs/http/ngx_http_proxy_module.xml Thu May 15 20:58:55 2014 +0400 @@ -10,7 +10,7 @@ + rev="20">
@@ -338,6 +338,10 @@ In addition, all active keys and information about data are stored in a shared memory zone, whose name and size are configured by the keys_zone parameter. +One megabyte zone can store about 8 thousand keys. + + + Cached data that are not accessed during the time specified by the inactive parameter get removed from the cache regardless of their freshness. diff -r 5d0cc9f886f4 -r f25d00109de0 xml/en/docs/http/ngx_http_scgi_module.xml --- a/xml/en/docs/http/ngx_http_scgi_module.xml Wed May 14 18:36:58 2014 +0400 +++ b/xml/en/docs/http/ngx_http_scgi_module.xml Thu May 15 20:58:55 2014 +0400 @@ -10,7 +10,7 @@ + rev="2">
@@ -330,6 +330,10 @@ In addition, all active keys and information about data are stored in a shared memory zone, whose name and size are configured by the keys_zone parameter. +One megabyte zone can store about 8 thousand keys. + + + Cached data that are not accessed during the time specified by the inactive parameter get removed from the cache regardless of their freshness. diff -r 5d0cc9f886f4 -r f25d00109de0 xml/ru/docs/http/ngx_http_fastcgi_module.xml --- a/xml/ru/docs/http/ngx_http_fastcgi_module.xml Wed May 14 18:36:58 2014 +0400 +++ b/xml/ru/docs/http/ngx_http_fastcgi_module.xml Thu May 15 20:58:55 2014 +0400 @@ -10,7 +10,7 @@ + rev="15">
@@ -338,6 +338,10 @@ Кроме того, все активные ключи и информация о данных хранятся в зоне разделяемой памяти, имя и размер которой задаются параметром keys_zone. +Зоны размером в 1 мегабайт достаточно для хранения около 8 тысяч ключей. + + + Если к данным кэша не обращаются в течение времени, заданного параметром inactive, то данные удаляются, независимо от их свежести. По умолчанию inactive равен 10 минутам. diff -r 5d0cc9f886f4 -r f25d00109de0 xml/ru/docs/http/ngx_http_proxy_module.xml --- a/xml/ru/docs/http/ngx_http_proxy_module.xml Wed May 14 18:36:58 2014 +0400 +++ b/xml/ru/docs/http/ngx_http_proxy_module.xml Thu May 15 20:58:55 2014 +0400 @@ -10,7 +10,7 @@ + rev="20">
@@ -336,6 +336,10 @@ Кроме того, все активные ключи и информация о данных хранятся в зоне разделяемой памяти, имя и размер которой задаются параметром keys_zone. +Зоны размером в 1 мегабайт достаточно для хранения около 8 тысяч ключей. + + + Если к данным кэша не обращаются в течение времени, заданного параметром inactive, то данные удаляются, независимо от их свежести. По умолчанию inactive равен 10 минутам. diff -r 5d0cc9f886f4 -r f25d00109de0 xml/ru/docs/http/ngx_http_scgi_module.xml --- a/xml/ru/docs/http/ngx_http_scgi_module.xml Wed May 14 18:36:58 2014 +0400 +++ b/xml/ru/docs/http/ngx_http_scgi_module.xml Thu May 15 20:58:55 2014 +0400 @@ -10,7 +10,7 @@ + rev="2">
@@ -329,6 +329,10 @@ Кроме того, все активные ключи и информация о данных хранятся в зоне разделяемой памяти, имя и размер которой задаются параметром keys_zone. +Зоны размером в 1 мегабайт достаточно для хранения около 8 тысяч ключей. + + + Если к данным кэша не обращаются в течение времени, заданного параметром inactive, то данные удаляются, независимо от их свежести. По умолчанию inactive равен 10 минутам.