[Bugs] [Bug 1215189] New: timeout/expiry of group-cache should be set to 300 seconds
bugzilla at redhat.com
bugzilla at redhat.com
Fri Apr 24 14:05:26 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1215189
Bug ID: 1215189
Summary: timeout/expiry of group-cache should be set to 300
seconds
Product: GlusterFS
Version: 3.7.0
Component: core
Keywords: EasyFix, Triaged
Priority: high
Assignee: bugs at gluster.org
Reporter: ndevos at redhat.com
CC: bugs at gluster.org, gluster-bugs at redhat.com
Depends On: 1215187
+++ This bug was initially created as a clone of Bug #1215187 +++
+++ +++
+++ Use this bug to backport the change to release-3.7 +++
Description of problem:
The current timeout/expiry of the group-cache on the bricks is set to 5 (?)
seconds. When sssd is used to request all the groups of a user, and the request
requires network access (i.e. LDAP), expiry of the cache can happen way too
often.
sssd has a default of 300 seconds for memory caching (groups are only cached on
disk as of current sssd versions). Gluster should use the same timeout for
caching, making it more sssd friendly and preventing high cpu usage in some
environments where fetching groups is slow.
Version-Release number of selected component (if applicable):
3.7
How reproducible:
100%
Steps to Reproduce:
1. have a user in many (100's of groups) in an LDAP structure
2. enable server-side group fetching with server.manage-gids=on for the volume
3. do some I/O as the user
4. see the slowness when groups need to be refreshed constantly
Actual results:
Gluster performs poorly.
Expected results:
The number of groups that a user belongs to should not affect performance
*that* much.
Additional info:
https://lists.fedorahosted.org/pipermail/sssd-devel/2014-November/021451.html
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1215187
[Bug 1215187] timeout/expiry of group-cache should be set to 300 seconds
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list