On Wed, 2013-09-11 at 20:19 +0200, Michal Židek wrote:
Hello,
I would like to have this option in SSSD for debugging purposes. It is
not documented, so it should be invisible for users (but I can add it to
man pages as well, if someone thinks it is useful to have it there).
This would cause you to have stale mmap cache files on the system,
wouldn't it make more sense to have an environment variable for the
client libraries instead and have them ignore the mmap cache when you
want to test something ?
It could also be documented as it may be a useful workaround should a
user find a bug that hits the mmap_cache and wants a temporary way to
avoid it even if with performance penalty for a specific application.
Something like SSS_NSS_USE_MEMCACHE=yes/no
defaulting to yes, if no env var is found.
Simo.
--
Simo Sorce * Red Hat, Inc * New York