On Thu, 2013-09-12 at 11:23 +0200, Jakub Hrozek wrote: > On Wed, Sep 11, 2013 at 05:54:01PM -0400, Simo Sorce wrote: > > 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 ? > > This sounds like a good idea. > > > 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. > > If I can speak for Michal -- we discussed that it might be nice to be able > to temporarily disable the memcache somehow, but if there was a documented > way, hitting memcache problems would simply disable it and don't even > report a bug. Kind of like users switching SELinux to Permissive.
Their choice. I think it is more valuable to have the option than not for fear of people not reporting bugs. Simo. -- Simo Sorce * Red Hat, Inc * New York _______________________________________________ sssd-devel mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/sssd-devel
