Blob Blame History Raw
From 22bd144b48e83d812dd823298b723983c4e3288a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michal=20=C5=BDidek?= <mzidek@redhat.com>
Date: Thu, 19 Oct 2017 16:46:43 +0200
Subject: [PATCH 03/21] MAN: Document memcache_timeout=0 meaning
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Document that by setting memcache_timeout to 0 the in-memoory cache
will be disabled.

Related:
https://pagure.io/SSSD/sssd/issue/3496

Reviewed-by: Sumit Bose <sbose@redhat.com>
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Reviewed-by: Fabiano Fidêncio <fidencio@redhat.com>
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
(cherry picked from commit 1becbb7bec29a3d418d8f19fc52433cf86bcf395)
---
 src/man/sssd.conf.5.xml | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/src/man/sssd.conf.5.xml b/src/man/sssd.conf.5.xml
index 7752e450835b5beba50ddc4c635ff985d38ca421..7443f718319e292842c670aaf47cfc537545d021 100644
--- a/src/man/sssd.conf.5.xml
+++ b/src/man/sssd.conf.5.xml
@@ -974,12 +974,19 @@ fallback_homedir = /home/%u
                     <listitem>
                         <para>
                             Specifies time in seconds for which records
-                            in the in-memory cache will be valid.
+                            in the in-memory cache will be valid. Setting this
+                            option to zero will disable the in-memory cache.
                         </para>
                         <para>
                             Default: 300
                         </para>
                         <para>
+                            WARNING: Disabling the in-memory cache will
+                            have significant negative impact on SSSD's
+                            performance and should only be used for
+                            testing.
+                        </para>
+                        <para>
                             NOTE: If the environment variable
                             SSS_NSS_USE_MEMCACHE is set to "NO", client
                             applications will not use the fast in-memory
-- 
2.13.5